@rplan/redis-client
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

allex-redis-client

This package contains a redis client that is a wrapper around ioredis

It supports both a direct redis connection and a connection through sentinel. We use @rplan/config to configure access to redis.

You need the following properties in your config

When using sentinel

redis:
  sentinel:
    enabled: true
    masterGroupName: name
    maxRetries: 10
    password: password
    instances: 
      - instance1
      - instance2

When using redis directly

redis:
  host: hostname
  port: 80
  maxRetries: 10
  password: password

Readme

Keywords

none

Package Sidebar

Install

npm i @rplan/redis-client

Weekly Downloads

46

Version

3.1.0

License

MIT

Unpacked Size

12.5 kB

Total Files

10

Last publish

Collaborators

  • muhammadfaizan
  • siavash.sardari
  • nomanurrehman
  • rplan-ci
  • ady.shehadeh
  • daniel-0815
  • dtimmreck
  • hweber.actano
  • mkronschnabl.actano
  • mpuls
  • dschmidt_actano
  • mnicorici
  • actano-resources-hl
  • wgrall
  • nehap09
  • msagir
  • sevinjguluzade
  • mhnpd
  • tonirucks