A primer on Eclipse Mosquitto

From OPC Labs Knowledge Base
Revision as of 09:36, 1 August 2025 by User (talk | contribs)

Introduction

Eclipse Mosquitto™ is an open source MQTT broker.

Web site: https://mosquitto.org/

Download: https://mosquitto.org/download/

Documentation: https://mosquitto.org/documentation/

Public broker: https://test.mosquitto.org/

Installation

On Windows, the setup program (by default) installs a Windows service named "Mosquitto Broker". The service is set to start automatically, and is running when the installation completes, thus the MQTT broker can be used immediately. The service can easily be controlled (started, restarted, stopper) from the Services management console.

The installation directory is usually "C:\Program Files\mosquitto".

Configuration

Mosquitto is configured using the mosquitto.conf file in its installation directory.