|Mosquitto (RSMB) store messages to DB [message #1750478]
||Wed, 21 December 2016 14:03
| Stevan Sandi
Registered: December 2016
I'd like to store all messages received by broker into DB.
Right now, I'm using single client, subscribed to all topics, which upon
received message stores it into the DB.
I'd like to tweak existing code so that broker stores messages into DB
before message is dispatched to all subscribers.
Can you please let me know where is the best place to start looking,
and where it would be the best place to put storing action.
Also, I've just noticed that there is RSMB project which looks like exactly
what I need (server implementation of message broker). Before any hints
regarding which files to start checking etc. I'd like to know if I'm going to achieve anything in terms of performance by implementing the storing feature as part of broker.
Powered by FUDForum
. Page generated in 0.02709 seconds