Eclipse Mosquitto: The Open Source MQTT Broker Behind Countless Connected Devices

Eclipse Mosquitto – An open source MQTT broker

Mosquitto is an open source server implementation of MQTT versions 5.0, 3.1.1, and 3.1, written by Roger Light. It ships with C and C++ client libraries, plus mosquitto_pub, mosquitto_sub, and mosquitto_rr utilities for publishing and subscribing, and admin tools like mosquitto_ctrl and mosquitto_passwd. The broker runs with a single command for local testing, supports TLS, SQLite persistence, and a dynamic security plugin, and builds via make, cmake, or vcpkg.

It is not advised to run your broker with anonymous access when it is publicly available.
  1. monkeyking135

    I’m confused why this post is on the front page of HN. This isn’t new and they haven’t done a new release or something. Mosquitto is good and used all over the place but not sure why this is being posted.

  2. alentred

    Since we are into it, just sharing then: I had a lot of success with RabbitMQ + it's MQTT plugin. AFAIK, it actually has the MQTT plugin now baked in by default. Never had any issue at scale, plus you get AMQP in your stack, and you can actually use AMQP to consume the messages originally received over MQTT.

  3. maxpert

    Shameless plug I've implemented https://github.com/maxpert/strangeq with AMQP and plan to integrate MQTT as supported protocol for StrangeQ. Right now I was focused on really optimizing the implementation itself (which I did), MQTT + replication/distribution is next on my list.

  4. acidburnNSA

    Funny I was just updating my mosquitto configs bridging between my various family sites and my little VPS. It's a great way to track what's online.

  5. keithnz

    I've used this for quite a while as a gateway for sparkplugB such that things like ignition can pull our telemetry data (we do agtech monitoring, smart meters, power, water, soil moisture, temp, etc etc)

More from this day

2026-11-15