1.0.0 • Published 8 years ago

deepstream.io-cache-hazelcast v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

deepstream.io-cache-hazelcast npm version Build Status

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();