Description
Describe the feature
Support for automatic topic resubscription in the event MQTT connection is lost and subsequently reconnected. Note that this would be separate to session resumption, and would be used in the event that a client session is lost by the MQTT broker
Use Case
Right now we have an "MQTT service" singleton component in our application stack that wraps the AWS v2 IoT SDK, and in particular topic subscription functionality. Even though we have sessions enabled with a large timeout - we occasionally see instances where the session cannot be resumed on reconnection, resulting in our application no longer able to process messages. Even though we could handle this at our service layer, I was thinking this is probably a common enough use case that warrants consideration of being implemented within the SDK itself
Proposed Solution
No response
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
SDK version used
1.23.0
Environment details (OS name and version, etc.)
Android 10 OS