# mqtt-benchmark A simple MQTT (broker) benchmarking tool. ## Usage ```shell cargo install mqtt-benchmark ``` ## Help ```text $ mqtt-benchmark --help A simple MQTT (broker) benchmarking tool. Usage: mqtt-benchmark [OPTIONS] Options: -c, --client-id MQTT client id [default: mqtt-benchmark] -b, --broker MQTT broker [default: 127.0.0.1:1883] -t, --topic MQTT topic [default: test] -u, --username MQTT username -p, --password MQTT password -q, --qos MQTT qos [default: 1] -o, --one-topic Only one topic is sent data -P, --payload MQTT payload, allowed to be empty -s, --size The number of data entries generated by each client [default: 10000] -C, --client-num The number of MQTT clients that are created [default: 10] -h, --help Print help -V, --version Print version ```