As of today, when a device publishes a telemetry, event or command response message and there is an error when processing the message, the handling of the error depends on whether there is an error topic subscription for the device and whether an on-error property bag parameter was set on the topic used for sending the message.
If no error subscription is in place and no on-error parameter was set, the default error handling behavior is to close the MQTT connection to the device. If the device has a subscription on the error topic (on the same MQTT connection the device uses for sending messages), the default behavior is to keep the MQTT connection open unless a terminal error happens.
- See the release notes in the Bosch IoT Device Management documentation for more information.
- See the first announcement at Bosch IoT Hub changes error handling behavior of MQTT adapter.