Skip to content

Wrapper does not work for redis cluster with passwords #6

@arpitadlakha

Description

@arpitadlakha

Wrapper does not work for redis cluster with passwords

We need to create the RedisCluster instance with redisOptions key in the json object.

 const cluster = new Redis.Cluster(nodes, {
  redisOptions: {
    password: "your-cluster-password",
  },
});

As mentioned in the IORedis doc here : https://www.npmjs.com/package/ioredis#password

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions