My both publisher and subscriber are both connected to mosquitto (paho) broker with QOS=2 and maintaining persistent session by clean_session=false. When i publish message with subscriber connected to broker, it successfully received by subscriber, now if I disconnect the subscriber , then again publish message and connect subscriber after, I will be able to retrieve message those messages when my subscriber was offline.
My question is --
Is there any storage in the broker which stores all the messages when subscriber is offline.
If yes, how much long or how many message it can store.
Is this approach is good for real time GPS tracking where subscriber can go offline for a long time (5-6 hr) approx.
Is session persistence is maintained even if power goes off.
How much traffic it can handle for scalable application if I use this approach in real time gps tracking..