MQTT Broker
Eclipse Mosquitto is an open-source broker for the MQTT (Message Queuing Telemetry Transport) messaging protocol.
Platform availability
Available on 3 of 10 platforms
Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.
83/100 Excellent
- Maintained
- 100last commit 4 days ago
- Popular
- 8111,474 GitHub stars
- Easy to install
- 250 install platforms, install notes, Docker image
- Light to run
- 100256 MB minimum RAM, runs on ARM
- Security check
- 95no serious findings, CI, tests
- GitHub stars
- 11,474
- Open issues
- 928
- Last commit
- 2026-11-17
- Activity
- rising
Checked 3 days ago - source: GitHub (eclipse-mosquitto/mosquitto)
Resources & Compatibility
Minimum requirements: 256 MB RAM, 1 CPU core(s), 100 MB disk. ARM (e.g. Raspberry Pi) is supported.
Checked 54 days ago - source: Docker Hub image tags and published docs
First-install notes
- Installing with Docker Deploy as a Docker container and, for production use, enable authentication, TLS encryption, and persistent storage in the broker's configuration file. source
Fetched 42 days ago - each note links to its source
Variants
Alternatives (4)
- HiveMQ - HiveMQ Community Edition is a Java-based, open-source Message Queuing Telemetry Transport (MQTT) broker that supports MQTT 3.x and MQTT 5 f…
- MQTTBox - MQTTBox enables to create MQTT clients to publish or subscript topics, create MQTT virtual device networks, load test MQTT devices or broke…
- RabbitMQ - RabbitMQ is an open source message broker that implements the Advanced Message Queuing Protocol (AMQP), used to route and queue messages be…
- VerneMQ - VerneMQ is a high-performance, distributed MQTT message broker.
Checked 40 days ago - source: AlternativeTo
Common questions
Can I start Mosquitto without a configuration file for a quick test?
Yes. Running just mosquitto starts a local, anonymous broker that is only useful for initial testing. Use a configuration file with a listener and authentication for clients on other computers.
Can Mosquitto be fronted by HAProxy for TLS termination?
Yes. The documentation includes guidance for using Mosquitto with HAProxy, including deployments where HAProxy performs TLS termination.
What should I expect when building Mosquitto from source?
The build requires cJSON. Use CMake on Windows and Mac or make on other platforms, and use make binary when building from git to skip building man pages.
What common MQTT gateway failures should I check when clients cannot connect?
Check TLS certificate issues, topic mismatches, broker connectivity problems, and DNS errors.
Answers sourced from docs.chipkin.com, github.com, mosquitto.org
Community
- Eclipse Mosquitto - An open source MQTT broker : r/programming - Reddit (reddit)
- Latest Community Q&A topics - Cedalo - Forum (forum)
- Self hosted MQTT - what are the actual options ?! (other)
- MQTT Broker Configuration Challenges and Solutions - General - Aqara Forum (forum)
- Eclipse Mosquitto - Free talk - eWeLink Forum (forum)
- Eclipse Mosquitto™ on sbRIO - NI Community (forum)
Collected 8 days ago - public community threads