Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

request/response over pub/sub

Making publish/subscribe behave like ask-and-answer by publishing a request and waiting for a reply on another topic.

Request/response over pub/sub publishes a request with a correlation ID and a response topic, then waits, with a timeout, for a reply carrying the same correlation ID.

Examples

  • To ask a bench node to blink, the app subscribes to gh1/<device-id>/cmd/res, publishes the request to cmd/req at QoS 1, and gives up if no matching reply arrives within about five seconds.

Read the full section →