How to manage data cache when disconnected from the Cloud

Hi everyone,
is there a way to manage the data to be sent to the Cloud in case the system is disconnected from the network? For example, if we want to publish data on AWS via MQTT protocol, it is necessary to study how to manage the publication queue to ensure that in the event of a connection loss, upon reconnection all unsent data is then correctly published on the CLOUD.

You need to have some sort of local cache that only holds unsent data.

How can this be done? Are there any examples?

There are quite a few topics covering this scenario on the forum. example: Node-red-contrib-msg-queue - Only storing not forwarding w/ active connection - #11 by Colin

It was just what I needed. Thank you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.