deepstream cache connector for hazelcast
This connector uses the npm hazelcast-client package. Please have a look there for detailed options.
plugins:
cache:
name: hazelcast
options:
networkConfig:
addresses:
- host: $HAZELCAST_HOST
port: $HAZELCAST_PORT
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();