deepstream message connector for redis
This connector uses the npm ioredis package. Please have a look there for detailed options.
Install via
deepstream install message redis
Example configuration
plugins: cache: name: redis options: host: ${REDIS_HOST} port: ${REDIS_PORT} # Using with a cluster # plugins: # cache: # name: redis # options: # nodes: # - host: <String> # port: <Number> # password: <String> # - host: <String> # port: <Number> # redisOptions: # password: 'fallback-password' # maxRedirections: 16
Usage in node
var Deepstream = RedisMessageConnector = server = ; server; serverstart;