© Anand Tamboli 2019
Anand TamboliBuild Your Own IoT Platformhttps://doi.org/10.1007/978-1-4842-4498-2_6

6. The Message Broker

Anand Tamboli1 
(1)
Sydney, NSW, Australia
 
In Chapter 4, we chose MQTT as our messaging protocol. We are going to use the Mosquitto program as a broker for this purpose. In this chapter, we elaborate more on MQTT and cover the following:
  • How a pub/sub paradigm works

  • The various features and functionalities of MQTT

  • WebSocket

  • When to utilize the message broker

  • How to install and secure MQTT on our cloud instance

Let’s dive into MQTT and how the message broker block will play an important role in our IoT platform.

What Is MQTT?

MQTT is a client-server publish/subscribe messaging transport protocol. It is lightweight, open, simple, and ...

Get Build Your Own IoT Platform: Develop a Fully Flexible and Scalable Internet of Things Platform in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.