kuzzleio / kuzzle

Open-source Back-end, self-hostable & ready to use - Real-time, storage, advanced search - Web, Apps, Mobile, IoT -
https://kuzzle.io
Apache License 2.0
1.44k stars 124 forks source link

Make subscription notifications persistent #2408

Closed yhilem closed 1 year ago

yhilem commented 1 year ago

Discussed in https://github.com/kuzzleio/kuzzle/discussions/2406

Originally posted by **yhilem** December 4, 2022 Hi, I want to develop an Android Mobile application that subcribe to database events with MQTT protocol : - "Each time a subscription is sent, a dedicated MQTT topic is created, named after the channel property issued by Kuzzle." (https://docs.kuzzle.io/core/2/api/protocols/mqtt/#app). - Notification are meant to be dispatched on "channels" created when subscribing. (https://github.com/kuzzleio/kuzzle/blob/master/lib/core/realtime/notifier.js#L37) What driver used by aedes for persistence (https://github.com/moscajs/aedes#persistence)? This parameter is not specified in the Kuzzle configuration. What happens while my app is disconnected and reconnect ? Are notifications lost ? Thanks Youcef HILEM DSI BSCC La Poste
Aschen commented 1 year ago

Hi @yhilem

I answered you there https://github.com/kuzzleio/kuzzle/discussions/2406

yhilem commented 1 year ago

Thank you Adrien.