How MQTT Works
• MQTT uses a client/server model where every IoT device is a client and
is connected to a server, called an MQTT broker (example: Azure IoT
Hub).
• The clients send messages to an address, called a topic. The MQTT
broker will forward that message to all the clients subscribed to that
topic.
96
MQTT Broker
Thing_x
Thing_zThing_y
Subscribed to “LED” topic
Subscribed to “LED” topic
Publish “On” to the “LED” Topic
“On”“On”
LED