I’m not sure this would be scalable either but you might want to look at this:
http://nodered.org/
There are MQTT and MongoDB nodes available that you could make use of.
Dwayne
From: paho-dev-bounces@xxxxxxxxxxx [mailto:paho-dev-bounces@xxxxxxxxxxx]
On Behalf Of dishant ghai
Sent: Monday, April 20, 2015 12:12 PM
To: Dominik Obermaier
Cc: General development discussions for paho project
Subject: Re: [paho-dev] Storing All MQTT publishes in a MongoDB Database
*** Exercise caution. This is an EXTERNAL email. DO NOT open attachments or click links from unknown senders or unexpected email. ***
Hi,
I'd be grateful if I get a Mosquitto based solution for now. I'm using Mosquito 1.4.2
On Mon, Apr 20, 2015 at 9:32 PM, Dominik Obermaier <dominik.obermaier@xxxxxxxxx> wrote:
if you want to store the data directly on the broker instead of a wildcard subscriber, you can take a look at this blog post which discusses a more centralized approach
in detail:
Hi All,
I need to store all published messages in a MongoDB Database. Is there any way to do this cleanly on message arrival at broker without getting into the C Code.
I got a tutorial which does it using node.js and doing a client subscribe to '#' and storing
the messages to MongoDB on message arrival at broker.
but I i'm not sure if it is a scalable method.
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/paho-dev
|