Using MQTT with Mosquitto and Eclipse Paho
Mosquitto is an open source message broker that implements the versions 3.1 and 3.1.1 of the MQTT protocol, and therefore, allows us to work with messages using the publish/subscribe model. Mosquitto is an iot.eclipse.org project and is provided with the Eclipse Public Project (EPL)/EDL license. The following is the Web page for Mosquitto: http://mosquitto.org.
The Eclipse Paho project provides an open source client implementation of MQTT. The project includes a Python client, also known as the Paho Python Client or Eclipse Paho MQTT Python client library. This Python client has been contributed from the Mosquitto project and was originally the Mosquitto Python Client. The following is the Web page for the Eclipse Paho project: http://www.eclipse.org/paho. The following is the Web page for the Eclipse Paho MQTT Python client library, that is, the paho-mqtt module: https://pypi.python.org/pypi/paho-mqtt/1.1.
In Chapter 2, Working with Python on Intel...