← Back to the chapter · Previous detail · Next detail →
Technical detail · MQTT Python: Reliable Client Patterns
MQTT client and broker vocabulary
These terms describe communication between MQTT device or application clients and the broker that routes their messages.
Telemetry means measurements and status sent from a remote device for review. MQTT means Message Queuing Telemetry Transport. A broker is the service that routes messages by topic. Quality of service means the selected delivery level for a message. QoS is its short name. TLS (Transport Layer Security) means protected transport that checks the service identity and can also check the client.
- MQTT: Message Queuing Telemetry Transport — publish/subscribe protocol optimized for constrained IoT devices over unreliable networks.
- Broker: Central server routing messages from publishers to all matching subscribers by topic pattern.
- Topic: A path such as
plant/boiler7/temperaturethat routes messages to subscribers. - QoS Level: Quality of Service 0/1/2 trading delivery guarantee for message overhead.
- Retained Message: A publication the broker stores for a topic when it is sent with the RETAIN flag, for delivery to future matching subscribers.
- Last Will and Testament: Pre-configured message published by broker when a client disconnects ungracefully.
- Persistent Session: The broker keeps subscriptions and pending messages so clients can resume after a disconnect.