


the clients that publish on this server) and to send particular messages to the subscribers (i.e. The role of the broker is to receive all the messages from the publishers (i.e. The MQTT Broker in this tutorial will be our raspberry pi. The MQTT Subscribers and Publishers are the Clients.In terms of a client-server terminology, here is how to explain them:

The next section deals with MQTT Brokers, publishers and subscribers.Įven though these terms look scary, it is a very simple explanation. It is a publish/subscribe communication protocol and is quite flexible to use. In simple words, it is a very simple protocol which enables us to send and receive messages across a network to any of the devices. MQTT stands for Message Queuing Telemetry Transport, which is quite a complex name. In this tutorial you’ll learn how to set up an MQTT message server in just a few minutes using a Raspberry Pi.īefore starting with the tutorial, let us know a little more about MQTT. But over the last few years, MQTT has started to establish itself as the de facto messaging protocol. In the fast-changing world of IoT, there’s no such thing as a universal standard.
