← Back to team overview

mosquitto-users team mailing list archive

Publications with 'guaranteed delivery' to subscribers

 

Hi all,

I'm using mqtt (mosquitto v3.1) in a wireless sensor network of embedded
devices which are subscribed to certain topics of a broker. On the other
side, there is a mobile app publishing topics to the broker. The pub / sub
process works fine, and with the advantage of Keep Alive messages and Will
Topics, the mobile app can detect when an embedded device has been
disconnected (usually due to battery exhaustion).

The weak point here occurs during the 'time window' in which the embedded
device has drained it's battery and the broker is not still aware of that.
In such case, if the mobile app publishes a topic it won't be received by
the subscriber. Of course, I could queue messages, but that's not the way
this scenario should work.

Any advices on how to proceed?

Thanks in advance.

Regards,
Juan