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.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.