mqtt-benchmark

Crates.iomqtt-benchmark
lib.rsmqtt-benchmark
version0.2.4
sourcesrc
created_at2024-01-31 01:17:17.861513
updated_at2024-06-14 00:54:09.579361
descriptionA simple MQTT (broker) benchmarking tool.
homepagehttps://github.com/chenquan/mqtt-benchmark
repositoryhttps://github.com/chenquan/mqtt-benchmark
max_upload_size
id1121029
size53,646
chen quan (chenquan)

documentation

README

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: 127.0.0.1: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]
  -o, --one-topic                Only one topic is sent data
  -P, --payload <PAYLOAD>        MQTT payload, allowed to be empty
  -s, --size <SIZE>              The number of data entries generated by each client [default: 10000]
  -C, --client-num <CLIENT_NUM>  The number of MQTT clients that are created [default: 10]
  -h, --help                     Print help
  -V, --version                  Print version
Commit count: 86

cargo fmt