mqcat
Command-line client for pub/sub messaging systems like zenoh, nats, mqtt, and centrifuge.
Why?
NATS has a great CLI tool, Zenoh is lacking one at the moment (python one is bit too slow), and Centrifugo doesn't have one at all.
I wanted to have the same experience as NATS CLI with other protocols/brokers, so I wrote this tool.
Installation
Option 1 - download new binary:
- download the binary from the releases page
Option 2 - update existing binary:
- run
mqcat --upgradeto upgrade to the latest version
Option 3 - compile from source code:
- run
cargo install mqcatto install the latest version from source code (if you have Rust installed)
Usage
zenoh
# publish a message to zenoh
# subscribe to zenoh topics
# connect to specific zenoh server
nats
# publish a message to nats
# subscribe to nats topics
# connect to specific nats server