An open source MQTT broker
open sourceEPL-2.0 OR BSD-3-Clauseself-hostablefree
Eclipse Mosquitto is a lightweight open source message broker that implements MQTT versions 5.0, 3.1.1 and 3.1, suitable for anything from low-power single-board computers to full servers. It also ships libmosquitto, a C and C++ client library, the mosquitto_pub, mosquitto_sub and mosquitto_rr command-line clients, and admin tools such as mosquitto_passwd and mosquitto_ctrl, with authentication through password files, ACLs and the dynamic security plugin. It is an Eclipse Foundation project whose development is driven by Cedalo, dual licensed EPL-2.0 or EDL-1.0.
Ways to install
On your own server
Package managers
Problems it solves
- I need an MQTT broker on my Raspberry Pi so my sensors and Zigbee bridge can talk to Home Assistant
- run a lightweight publish/subscribe message broker for IoT devices on my own server
- publish and subscribe to MQTT topics from the command line to test my devices
- secure my MQTT broker with usernames, passwords and per-topic access control
- connect MQTT clients over TLS or WebSockets from a browser
- bridge messages between two MQTT brokers in different locations
- add MQTT messaging to my C or C++ application with a client library
- manage MQTT users, groups and roles at runtime without restarting the broker
- test my MQTT client against a public test server before running my own broker
Features
- MQTT 5.0, 3.1.1 and 3.1 broker
- MQTT over TLS and WebSockets
- libmosquitto C and C++ client library
- mosquitto_pub, mosquitto_sub and mosquitto_rr command-line clients
- mosquitto_passwd and mosquitto_ctrl administration tools
- password file, ACL and dynamic security plugin authentication
- plugin interface, with plugins such as persist-sqlite and sparkplug-aware
- official Docker images
- public test server at test.mosquitto.org
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Eclipse Mosquitto does.
