Copyright ©

Mongoose OS Forum


MQTT flow/throttle control

I'm using a Mongoose-OS powered device (ESP32) as a network coprocessor to a simpler device. MQTT messages received on a topic will be handled down to that device over the UART.
That device has a limited processing capability and memory, so it can't keep up with lots of messages; I need to buffer them at the ESP32.
Eventually, that buffer might become full, and in order not to lose further messages, the MQTT traffic (or its underneath TCP traffic) needs to be throttled down.
Is there any built-in mechanism to do that ? Anything I could do on the Community Edition ? (I guess in the Entreprise Edition I have the sources and can modify at will)

Sign In or Register to comment.