|Re: [paho-dev] how to control messages per second with paho publisher
it can depend on what you want to achieve. There is no built in mechanism, if that's what you're asking.
If you want to keep track of how many messages are currently in
flight, with the MQTTAsync API you can track the difference
between the number of message send requests and the number of
onSuccess callbacks received. That way the application can
control the number of send requests to the desired number.
Hi,I want to limit the number of messages per second using paho c publisher. Any idea how to control it?
_______________________________________________ paho-dev mailing list paho-dev@xxxxxxxxxxx To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/paho-dev
-- Ian Craggs Eclipse IoT PMC; Eclipse Paho Project Lead; OASIS MQTT TC Member
Back to the top