You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
Dear community
Recently, i am studying about Mosca mqtt + Ascoltatori and mongoDB.
I want to develop MongoDB to collect and store all data of other clients in Mosca mqtt. As i know that (Mosca + Ascoltatori) can meet this requirement. However, fields of data that are created by (Mosca + Ascoltatori) to store in MongoDB does not satisfy what i want to have. My ideal now is that i want to make MongoDB become as a Sub-Client of Mosca mqtt which sub all of topics and store data from the topics. I dont know whether Ascoltatori can help me or not because there is not much documents about how to to use it. Can i add a sub-client code inside ascoltatori.build() to subcriber and store all data into MongoDB ?
Thank you so much.
varascoltatori=require('ascoltatori');varsettings={type: 'mongo',url: 'mongodb://127.0.0.1/ascoltatori',pubsubCollection: 'ascoltatori',mongo: {} // mongo specific options};ascoltatori.build(settings, function (err, ascoltatore) { // ...
});
The text was updated successfully, but these errors were encountered:
Dear community
Recently, i am studying about Mosca mqtt + Ascoltatori and mongoDB.
I want to develop MongoDB to collect and store all data of other clients in Mosca mqtt. As i know that (Mosca + Ascoltatori) can meet this requirement. However, fields of data that are created by (Mosca + Ascoltatori) to store in MongoDB does not satisfy what i want to have. My ideal now is that i want to make MongoDB become as a Sub-Client of Mosca mqtt which sub all of topics and store data from the topics. I dont know whether Ascoltatori can help me or not because there is not much documents about how to to use it. Can i add a sub-client code inside ascoltatori.build() to subcriber and store all data into MongoDB ?
Thank you so much.
The text was updated successfully, but these errors were encountered: