# deepstream.io-msg-redis

> [deepstream](http://deepstream.io) message connector for [redis](http://redis.io/)

Latest version **1.0.5** (published 2017-07-10) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install deepstream.io-msg-redis
pnpm add deepstream.io-msg-redis
yarn add deepstream.io-msg-redis
bun add deepstream.io-msg-redis
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2017-07-10 |
| First published | 2015-03-11 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | deepstreamHub GmbH |
| Maintainers | deepstreamio |

## Links

- npm: https://www.npmjs.com/package/deepstream.io-msg-redis
- Repository: https://github.com/deepstreamIO/deepstream.io-msg-redis
- Homepage: http://deepstream.io
- Issues: https://github.com/deepstreamIO/deepstream.io-msg-redis/issues
- npm.io page: https://npm.io/package/deepstream.io-msg-redis

## Dependencies (1)

- [ioredis](https://npm.io/package/ioredis.md) ^3.1.1

## Recent versions

- 1.0.5 (latest) — 2017-07-10
- 1.0.4 — 2017-02-15
- 1.0.3 — 2017-02-12
- 1.0.2 — 2016-09-13
- 1.0.1 — 2016-08-11
- 1.0.0 — 2016-06-29
- 0.2.9 — 2016-04-21
- 0.2.7 — 2016-01-07
- 0.2.6 — 2015-06-10
- 0.2.5 — 2015-03-11

## README

deepstream.io-msg-redis [![npm version](https://badge.fury.io/js/deepstream.io-msg-redis.svg)](http://badge.fury.io/js/deepstream.io-msg-redis)
===================

[deepstream](http://deepstream.io) message connector for [redis](http://redis.io/)

This connector uses [the npm ioredis package](https://www.npmjs.com/package/ioredis). Please have a look there for detailed options.

## Install via
```bash
deepstream install message redis
```

## Example configuration 
```yaml
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
```javascript
var Deepstream = require( 'deepstream.io' ),
    RedisMessageConnector = require( 'deepstream.io-msg-redis' ),
    server = new Deepstream();

server.set( 'messageConnector', new RedisMessageConnector( {
  port: 5672,
  host: 'localhost'
}));

server.start();
```

---
_Source: https://npm.io/package/deepstream.io-msg-redis · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
