-
Hi,
What driver used by aedes for persistence (https://github.com/moscajs/aedes#persistence)? What happens while my app is disconnected and reconnect ? Are notifications lost ? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @yhilem Kuzzle notification system is not designed to be persistent by itself. The MQTT protocol is simply used as a transport layer for realtime notification. There is no persistence option for Aedes because when a client disconnect from Kuzzle, his subscription are also destroyed. So to answer your question, when your app disconnect and reconnect, any notification generated during this interval while not be available. There is few ways to solve this problem:
|
Beta Was this translation helpful? Give feedback.
Hi @yhilem
Kuzzle notification system is not designed to be persistent by itself. The MQTT protocol is simply used as a transport layer for realtime notification.
There is no persistence option for Aedes because when a client disconnect from Kuzzle, his subscription are also destroyed.
So to answer your question, when your app disconnect and reconnect, any notification generated during this interval while not be available.
There is few ways to solve this problem:
document:search
for example)