Hi, I am exploring solutions to a new project I am working on. The project involves messages generated on a web service (like the latest weather update) and a consumer based on an Arduino.
The idea is this: the web service will constantly publish the relevant MQTT topic and the consumer will subscribe to that topic to receive updates.
However, the consumer will be off most of the time. When it turns on, I only want the very latest update to be received as the older ones don't matter any more.
Is MQTT a fitting solution for this setup? I am not clear from the documentation if all the past messages are actually stored on the MQTT broker and then delivered when the consumer finally connect. As I said, I only care for the very last message to be delivered.
Hope what I am asking is clear, thanks for reading.