You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Formalize the request/response pattern within MQTT and provide the Response Topic and Correlation Data properties to allow response messages to be routed back to the publisher of a request. Also, add the ability for the Client to get configuration information from the Server about how to construct the response topics.
Implementation
Implement the management of response information header in CONNACK. When a client send a CONNECT with request response information property set, the server reserve a subtree of the subscription topic so that client can receive response publishes for request-response flow.
The server reserve a subtree specific for the connecting (requester) client, for example /reqresp/reponse/<client id> and configure read access for the client, and write access for the rest (*). This is needed to automatically provide a response topic configured with correct access rights.
The text was updated successfully, but these errors were encountered:
andsel
changed the title
Request / Response: Formalize the request/response pattern within MQTT and provide the Response Topic and Correlation Data properties to allow response messages to be routed back to the publisher of a request. Also, add the ability for the Client to get configuration information from the Server about how to construct the response topics.
Request / Response: Formalize the request/response pattern within MQTT
Apr 20, 2024
Great!
I'm looking forward to trying out the request/response implementation soon.
We're currently working on version 2.0 of the OGC SensorThings API, and one of the things we plan on doing is defining how to use the full REST API over the MQTT5 reqest/response mechanism. That would give OData over MQTT. I've always wondered why OASIS didn't to that themselves, given that both are OASIS standards...
Formalize the request/response pattern within MQTT and provide the Response Topic and Correlation Data properties to allow response messages to be routed back to the publisher of a request. Also, add the ability for the Client to get configuration information from the Server about how to construct the response topics.
Implementation
Implement the management of
response information
header in CONNACK. When a client send a CONNECT withrequest response information
property set, the server reserve a subtree of the subscription topic so that client can receive response publishes for request-response flow.The server reserve a subtree specific for the connecting (requester) client, for example
/reqresp/reponse/<client id>
and configure read access for the client, and write access for the rest (*). This is needed to automatically provide a response topic configured with correct access rights.The text was updated successfully, but these errors were encountered: