mosquitto_message_broker

Mosquitto

Introduction

Mosquitto is an Open Source MQTT v3.1 message broker written by Roger Light. It aims to provide the same features (and possibly more) as IBM's Really Small Message Broker but as fully Open Source software.

quick link → to a blog post on getting started with Mosquitto on Ubuntu

Installation

Mosquitto is available at http://mosquitto.org/download and can also be installed on recent versions of Ubuntu using the ppa

To add the ppa and install Mosquitto on ubuntu 9.10+:

sudo add-apt-repository ppa:mosquitto-dev/mosquitto-ppa && sudo apt-get update && sudo apt-get install mosquitto

If installed from the ppa or Debian package Mosquitto will start automatically

For RPM-based installs see rpminstalls Still needs some work but drop a line on the irc channel #mqtt if something looks incorrect.

Usage

Included with Mosquitto are two basic command line clients: mosquitto_pub and mosquitto_sub. They can be used testing of the broker, and combined with a scripting language to implement many pub/sub functions. Mosquitto can also interface with other MQTT clients.

Detailed reference information

Full manpage documentation covering configuration and usage is available via the mosquitto website

Differences from RSMB

Currently mosquitto is largely similar in functionality to RSMB, but it does not support the following options (these may be added in future; an up-to-date list is maintained at the end of the shipped mosquitto.conf file):

autosave_on_changes
connection_messages
addresses
idle_timeout
notifications
notification_topic
round_robin
start_type
threshold
ffdc_output
max_log_entries
trace_level
trace_output
try_private
 
mosquitto_message_broker.txt · Last modified: 2012/01/28 11:17 by andypiper