Sign inSign up

emqx/mqttx-cli

By emqx

Updated 1 day ago

A Powerful and Easy-to-use MQTT 5.0 Command Line Tool

Image
0

100K+

emqx/mqttx-cli repository overview

MQTT X CLI is an open source MQTT 5.0 CLI Client and MQTT X on the command line. Designed to help develop and debug MQTT services and applications faster without the need to use a graphical interface.

Preview

mqttx-preview

Installation

docker pull emqx/mqttx-cli
docker run -it --rm emqx/mqttx-cli

Quickstart

Connect

mqttx conn -h 'broker.emqx.io' -p 1883 -u 'admin' -P 'public'

Subscribe

mqttx sub -t 'hello' -h 'broker.emqx.io' -p 1883

Publish

mqttx pub -t 'hello' -h 'broker.emqx.io' -p 1883 -m 'from MQTTX CLI'

Benchmark

# Connect Benchmark
mqttx bench conn -c 5000

# Subscribe Benchmark
mqttx bench sub -c 5000 -t bench/%i

# Publish Benchmark
mqttx bench pub -c 5000 -t bench/%i

Documentation

Please check out the documentation to learn more about the usage of MQTT X CLI.

License

Apache License 2.0, see LICENSE.

Tag summary

Content type

Image

Digest

sha256:0449cb2bc

Size

83.2 MB

Last updated

1 day ago

docker pull emqx/mqttx-cli