MQTT-TOPN: display MQTT topic statistics
Overview
This is a simple MQTT subscriber client in Go to display topic performance statistics with TopN most "chatty" topics. The idea is similar to the Unix "top" process statistics utility detailed at https://www.geeksforgeeks.org/top-command-in-linux-with-examples/ .
It is the command-line interface equivalent of https://github.com/gambitcomminc/mqtt-stats implemented with Go ncurses https://godoc.org/github.com/gbin/goncurses
This utility allows you to analyze quantitatively the published topics underneath a wildcard topic and answer such questions as "which topic generates the most messages?" and "which topic generates the most traffic?". You can sort by messages/second to get the most active topics.
Open-source, free, code is at https://github.com/gambitcomminc/golang-mqtt-topn
Video at https://www.youtube.com/watch?v=M1c--mXYl_Q
Installation / Requirements
To install this program, you need to install Go and set your Go workspace first.
Follow instructions for Eclipse Paho Go library https://github.com/eclipse/paho.mqtt.golang
go get github.com/pborman/getopt/v2
go get github.com/gbin/goncurses
go build mqtt-topn.go
Categories: Internet of Things (IoT)
Additional Details
Organization Name: Gambit Communications, Inc.
Development Status: Beta
Date Created: Tuesday, June 2, 2020 - 13:46
License: GPL
Date Updated: Wednesday, June 3, 2020 - 10:21
Submitted by: Gambit Support
Date | Ranking | Installs | Clickthroughs |
---|---|---|---|
February 2025 | 0/0 | 0 | 5 |
January 2025 | 0/0 | 0 | 13 |
December 2024 | 0/0 | 0 | 8 |
November 2024 | 0/0 | 0 | 9 |
October 2024 | 0/0 | 0 | 6 |
September 2024 | 0/0 | 0 | 13 |
August 2024 | 0/0 | 0 | 12 |
July 2024 | 0/0 | 0 | 11 |
June 2024 | 0/0 | 0 | 8 |
May 2024 | 0/0 | 0 | 15 |
April 2024 | 0/0 | 0 | 12 |
March 2024 | 0/0 | 0 | 5 |