Copyright © https://mongoose-os.com

Mongoose OS Forum

frame

MQTT flow/throttle control

Hi,
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)
Regards

Sign In or Register to comment.