Search code examples
sessionmqttmosquittopersistent

Resuming persistent sessions while switching to a different mosquitto broker


Can anyone tell me how I can resume persistent session on a different broker while I am switching brokers for load balancing in mosquitto. I am really confused and can't find a way out.


Solution

  • Short answer, you don't.

    All the persistent session information is held in the broker and mosquitto has no way to share that information between instances