hn.today

Eclipse Mosquitto – An open source MQTT broker

github.com106 points40 comments
Screenshot of Eclipse Mosquitto – An open source MQTT broker

Eclipse Mosquitto is an open-source MQTT server for the 5.0, 3.1.1, and 3.1 protocol versions, used to exchange messages between connected devices and applications. The project also provides C and C++ client libraries, command-line tools for publishing and subscribing, and utilities for broker administration, including password management and control. A basic local test can be run by starting the broker, subscribing to a topic, and publishing a message to it. The project supplies documentation for broker configuration, MQTT features, command-line utilities, and the client library API, as well as a public test server.

The quick-start setup permits anonymous connections only from the local computer; connections from other machines require a configured listener and an explicit decision about authentication. Publicly accessible brokers should not allow unauthenticated access, and the project documents authentication options including a dynamic security plugin. Users can install prebuilt packages or compile the software, using CMake on Windows and macOS and Make on other platforms. Build options allow features such as TLS, persistence, HTTP API support, and selected plugins to be enabled or disabled. Required and optional dependencies vary with those choices; cJSON is required, while OpenSSL, SQLite, and other libraries support optional capabilities. The repository also includes tests, examples, security information, and contribution guidance.

Read on github.com40 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Programming

Aristotle Expands into Rust

Aristotle has expanded its formal verification platform to Rust, allowing developers to prove code meets specifications and contains no undefined behavior, including in unsafe blocks. It can also verify that Rust rewrites behave like their original C code, targeting critical software such as smart contracts and infrastructure. (harmonic.fun)

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.