deepstream.io-cache-hazelcast
v1.0.0
Published
A hazelcast cache connector for deepstream.io
Downloads
4
Readme
deepstream.io-cache-hazelcast
deepstream cache connector for hazelcast
This connector uses the npm hazelcast-client package. Please have a look there for detailed options.
##Basic Setup
const Deepstream = require('deepstream.io');
const HazelcastCacheConnector = require('deepstream.io-cache-hazelcast');
const server = new Deepstream();
server.set('cache', new HazelcastCacheConnector({
networkConfig: {
addresses: [{
host: 'localhost',
port: 5701
}]
},
mapName: 'deepstreamCache'
}));
server.start();