3 releases
0.1.2 | Feb 12, 2024 |
---|---|
0.1.1 | Jan 31, 2024 |
0.1.0 | Jan 31, 2024 |
#646 in Command line utilities
45 downloads per month
15KB
234 lines
mqtt-benchmark
A simple MQTT (broker) benchmarking tool.
Usage
cargo install mqtt-benchmark
Help
$ mqtt-benchmark --help
A simple MQTT (broker) benchmarking tool.
Usage: mqtt-benchmark [OPTIONS]
Options:
-c, --client-id <CLIENT_ID> MQTT client id [default: mqtt-benchmark]
-b, --broker <BROKER> MQTT broker [default: localhost:1883]
-t, --topic <TOPIC> MQTT topic [default: test]
-u, --username <USERNAME> MQTT username
-p, --password <PASSWORD> MQTT password
-q, --qos <QOS> MQTT qos [default: 1]
-P, --payload <PAYLOAD> MQTT payload, allowed to be empty
-s, --size <SIZE> The number of data entries generated by each client [default: 100]
-C, --client-num <CLIENT_NUM> The number of MQTT clients that are created [default: 10]
-h, --help Print help
-V, --version Print version
Dependencies
~18–27MB
~437K SLoC