Open mduesterhoeft opened 4 years ago
@mduesterhoeft Thanks for the idea, sounds reasonable. We have a number of things in flight and will track demand on this. Others: please add a 👍 if you'd like to see this implemented.
Where is the corresponding IOS set
Any news about this? I'm having the same crash, @mduesterhoeft could you fix it in some way?
Any update on this ? I have same crash.
Is there any way to retry publish later if it fails to publish ?
No new updates on this feature request at this time. A workaround is to add a delay between publishing messages to give additional time for in-flight messages to be delivered or use the version of AWSIotMqttManager.publishString(...) with a message callback that indicates whether the message was delivered successfully or failed and needs to be resent.
Which AWS Services is the feature request for?
IoT
Is your feature request related to a problem? Please describe.
We see the following exception quite frequently:
This is the JavaDoc I could find in the Paho MQTT client for this exception (see
MqttClientException
.)The default for the maximum number of in-flight messages is 10. The underlying Paho MQTT client allows us to customize this value. But the
AWSMqttManager
wraps this and does not allow to configure it from the outside.Describe the solution you'd like Expose the configuration option regarding maximum number if in-flight messages that PAHO MQTT already offers (see
MqttConnectOptions
.)