Publisher
Living-room sensor publishes a concrete temperature topic.
Route MQTT publications through exact topic filters, wildcards, retained state, and QoS caps.
Publishers send to a concrete Topic Name. The broker compares that name with each subscriber Topic Filter, then fans out one copy to every matching subscription using the appropriate delivery QoS.
Living-room sensor publishes a concrete temperature topic.
Payload: 22.4 C, Topic Name: home/livingroom/temperature.
The broker validates the Topic Name, then tests it against each active subscription filter.
Step through subscription filters, publish validation, matching, fan-out, and delivery QoS.
One PUBLISH can produce several broker-to-client deliveries because several subscriptions match the same Topic Name.
+ or #.+ matches exactly one topic level.# matches zero or more levels and must be the final level.home/# matches home and every topic below it.The broker sends an application message to every matching subscription. Shared subscriptions are a separate MQTT 5 feature and intentionally not modeled as normal fan-out here.
If a client has overlapping subscriptions, MQTT 5 allows the server to send one copy or multiple copies depending on subscription identifiers and server behavior. This workbench flags overlap risk.
A retained message is the latest value for a Topic Name. It is not a historical queue, and a new retained publish replaces the retained value for that topic.