Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] Question about maximum in flight messages

Hi Herman,

the limit is not higher in newer versions.  One option would be to make this value an option which could be set, and which defaults to 10.  Any change would be made to the latest version -- 1.0, not 0.4.

Ian


On 12/17/2014 05:19 PM, Herman wrote:
Thanks for your answer about message persistence Dave - it's exactly what I was looking for!

I had another question about the limits to how many messages we can send without receiving acknowledgements, I noticed that in the version of the Java Paho Client we're using (0.4.0), in ClientState.java "maxInflight" is set to 10, above which this exception is thrown: Too many publishes in progress Reason code: 32202

One of our use cases for the client involves a very high level load of messages being sent, and we regularly hit this limit. What is the best way to get around it? Should we create multiple MqttAsyncClient instances and load balance across them? Do you have any other suggestions? For example: is this limit higher in updated versions (like 1.0)?

Thank you for the help!
Herman


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev

-- 
Ian Craggs                          
icraggs@xxxxxxxxxx                 IBM United Kingdom
Paho Project Lead; Committer on Mosquitto


Back to the top