paho.mqtt.python icon indicating copy to clipboard operation
paho.mqtt.python copied to clipboard

[Feature request] Local persistence

Open gfort-hoo opened this issue 8 years ago • 2 comments

Hi,

I find myself in a situation where I need a local persistence of the MQTT messages when my devices loose the internet connection and reboot. It works perfectly when the device just loses the connection and reconnects later on, but in the case of a hard reboot I loose every unsent messages, which is not good for my use cases. I would like to see this kind of feature in the native library and avoid developing it myself (which i'll probably have to do at some point)

If that's already possible somehow, i'd be glad to know how :)

gfort-hoo avatar Aug 31 '17 17:08 gfort-hoo

I need this as well. It seems to be available in the Java version of Paho, but not Python.

martenjacobs avatar Feb 21 '18 15:02 martenjacobs

I need this as well. Any idea when client persistence will be implemented on the python library? Its available in the Java version but unfortunately i can't use it. If not is there any pointers of how one could do it in the application side?

surashiva avatar Oct 07 '19 09:10 surashiva