sacOO7 / socketcluster-client-java

Native java and android client for socketcluster framework in node.js
http://socketcluster.io/
Apache License 2.0
94 stars 43 forks source link

Question about Data Synchronisation #46

Open VirgileDjimgou opened 5 years ago

VirgileDjimgou commented 5 years ago

hello , I wanted to know if there is a mechanism for saving the data of a channel in a relational database (i.e mysql or ...) or non-relational database. in case a client disconnects from a channel does it exist a data synchornisation mechanism so that it receive the data exchanged when it was not connected like a snapshoot ? I read an article mentioning this Mechnismus (https://blog.baasil.io/socketcluster-design-patterns-for-chat-69e76a4b1966 )... but unfortunately I do not see any API in the documentation on the website .

sacOO7 commented 5 years ago

There is no abstraction provided to save channel data in relational database. You probably need to write down your own code to do it.