Skip to content

Check: publish-subscribe roles and routing

Knowledge check · self-test

Check: publish-subscribe roles and routing

Boiler-house roles and routing: check what you can now explain.

Back to the chapter →

Boiler-house roles and routing: check what you can now explain.

Pair check: choose an MQTT subscription

A boiler sensor publishes to plant/boiler7/temperature. Which subscription should receive readings from every boiler on floor 2?

Reveal the partner’s reasoning

“I would use plant/2/+/temperature because the wildcard should match one boiler name.” Check whether the topic structure actually includes a floor level.

What will you do with your answer?
Take the solo route

Work with this authored example instead: plant/floor2/boiler7/temperature. A filter for all floor 2 boilers is plant/floor2/+/temperature.

Your notes stay in this page and are not sent or saved.

Back to MQTT Publish-Subscribe Basics: the section this check follows