Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Throttle / limit rate of messages on MQTT topic on client


This is mainly a question for the golang client.

AWS IoT have a limit on number of unacknowledged messages per thing(all things have a unique topic) and some other limits(100 request/s/client). So I would need to throttle numer of messages. This is quite easy to do when making a Publish, but when reconnecting and the client automatically resends messages I will have no control over this.

Is there some functionality in the client where I control this?

Perhaps I should try to implement it myself in the paho.mqtt.golang library. If so, are there other clients that implements this that I could draw inspiration from?


/ John

Back to the top