deepstream.io-msg-nats
v3.0.1
Published
A [deepstream](http://deepstream.io) message connector for NATS
Downloads
40
Keywords
Readme
deepstream.io-msg-kafka
deepstream message connector for NATS
This connector uses the npm nats package. Please have a look there for detailed config options.
Basic Setup
const Deepstream = require('deepstream.io');
const NatsMessageConnector = require('nxtedition/deepstream.io-msg-nats');
const server = new Deepstream();
server.set('messageConnector', new NatsMessageConnector({
url: 'nats://localhost:4222'
}));
server.start();