Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how many notifications are cached? #188

Open
sinozhou opened this issue Mar 21, 2016 · 3 comments
Open

how many notifications are cached? #188

sinozhou opened this issue Mar 21, 2016 · 3 comments

Comments

@sinozhou
Copy link

Hi,

I want to know how many notifications are cached in server?
And is it possible to store the device notifications into the database?

Regards.

@zubrabubra
Copy link
Collaborator

Hello!

Number of notifications depends on amount of memory available for device hive server. You can fine tune application memory as well as hazelcast storage settings to keep more notifications.

In order to store notifications in database you can attach listener to Apache Kafka and from there store all notifications into database storage. Additional option could be using TICK stack that could be attached to Apache Kafka and then use custom plugin to redirect data flow into InfluxDB.

Best,
Rafa

@sinozhou
Copy link
Author

Hello!
Thanks zubrabubra!
For the data storage, supposed we use TICK stack, is it possible we use the devicehive server as authentication method?
Regards,
Sinozhou

@zubrabubra
Copy link
Collaborator

Sinozhou,

Depending on your needs, there is built in token based authentication. Existing configuration could be extended by utilizing 3rd party options like auth0, stormpath, dailycred and others; latter however require additional programming efforts.

Best,
Rafa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants