-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MQTT error handling #19
Comments
MQTT has no way to send messages to a single user. So when an insertion over MQTT fails, there is no way for the server to tell the user. This is something that is possible for the new MQTT version 5 that was recently released. There is an issue for STA v2.0 that addresses this. Adding an error topic is not that useful. It would be hard to figure out which error was caused by which insert attempt. It would also potentially expose sensitive information to all users. At the moment, if data is important, it is best to use HTTP for inserts. |
Link OGC GitHub: opengeospatial/sensorthings#5 |
Could be worked out in a MQTT 5 extension then submitted to the SWG |
15-078r6 has a direct dependency to MQTT 3.1.1 (even if not mentionned in the 'References' section of the standard) : see |
In the case of observations inserted via MQTT it would be interesting to have a specific MQTT topic for error handling.
Currently, we can just know the new observations inserted by subscribing to the insertion topic but in case of error, we have no information.
The text was updated successfully, but these errors were encountered: