Eclipse Mosquitto – An open source MQTT broker github.com · 28 points · 9 commen...
HN Best 200 @best
Eclipse Mosquitto – An open source MQTT broker github.com · 28 points · 9 comments · HN thread
TL;DR The linked page is the GitHub repository README for Eclipse Mosquitto, an open source MQTT broker supporting MQTT 5.0, 3.1.1 and 3.1. It covers bundled client libraries and CLI tools, quick-start commands, configuration and authentication pointers, build options and vcpkg installation. Nothing new is announced; the page describes the project as it stands.
- Mosquitto implements MQTT server versions 5.0, 3.1.1 and 3.1, and ships C and C++ client libraries.
- Bundled utilities include mosquitto_pub, mosquitto_sub, mosquitto_rr, mosquitto_ctrl, mosquitto_signal and mosquitto_passwd.
- Running the broker with a bare 'mosquitto' command allows anonymous access only from the local machine; remote use requires a config file with a listener and authentication.
- Build dependencies are mostly optional: openssl for TLS, sqlite3 for persistence, libmicrohttpd for the HTTP API, c-ares for SRV lookups; cJSON is required.
- Builds use make on Linux and cmake on Windows and Mac; Mosquitto can also be installed via vcpkg.
Discussion The thread is mostly about why the post reached the front page at all. Several commenters point out that the project is long established and that nothing new (no release, no announcement) appears in the README. The original poster explains they stumbled on it while setting up a self-hosted MQTT server for a small device and shared it for others. The tone is skeptical and curious rather than hostile, with the conversation drifting to alternative MQTT brokers and what people run in production.
- Post is not newsworthy; nothing new here (many): Several commenters say the page is old, with no new release or feature announced, and they cannot see why it was upvoted. One commenter reread it expecting an MQTT v6 announcement and found nothing.
- Mosquitto is a reliable, boring standard (some): Commenters describe Mosquitto as the stable, widely used reference broker for MQTT. One says it has been a dependable choice for years and is used by their company for multi-source event streams.
- RabbitMQ with its MQTT plugin works well (a few): One commenter reports good results at scale with RabbitMQ and its MQTT plugin, plus the benefit of AMQP in the same stack. Another had repeated cluster partitions under transient network problems and moved to a single over-provisioned instance.
- Other brokers are more worth discussing (a few): A commenter suggests NanoMQ, RabbitMQ, EMQX or VerneMQ would be more newsworthy. Another notes that EMQX seems to have become the default and asks which MQTT stack others use.