Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for redis clusters #54

Open
zscgeek opened this issue Mar 13, 2024 · 1 comment
Open

Add support for redis clusters #54

zscgeek opened this issue Mar 13, 2024 · 1 comment

Comments

@zscgeek
Copy link

zscgeek commented Mar 13, 2024

Can we add support for connecting to redis clusters? When using Amazon ElastiCache Serverless they require you to connect via the cluster method. From what I have seen the redis client should support this - take a look at this page:

https://github.com/redis/ioredis?tab=readme-ov-file

Main thing is we need to support connecting to a Redis.Cluster object.

const Redis = require("ioredis");

const cluster = new Redis.Cluster([
  {
    port: 6380,
    host: "127.0.0.1",
  },
  {
    port: 6381,
    host: "127.0.0.1",
  },
]);
@zscgeek
Copy link
Author

zscgeek commented Mar 13, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant