What Is MQTT?





MQTT (Message Queue Telemetry Transport) is a lightweight messaging protocol which is ideal for communication of IoT connected devices. For an in-depth explanation, check out the What is MQTT? tutorial.

MQTT has three components: broker, publisher, and subscriber. One popular online broker is Mosquitto. A broker is an intermediary entity that handles the communication going on between devices. A publisher is a device that sends messages. A subscriber listens to the messages sent by the publisher.

There is one more important thing in MQTT and that is a topic. A topic is necessary for communication between different devices. For example, Device A wants to send a message to Device B. To do so, there should be something common between the two and that’s the topic. Think of it like a phone number.

CloudMQTT





CloudMQTT is a broker service that provides free MQTT communication for a certain number of devices.

Setting Up MQTT



