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 cluster via eredis_cluster #2116
Comments
@goldyfruit Thanks for the suggestion. Yeah, we should have a look at both libs. 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
I would say no, it does not support standalone Redis instance (but I might be wrong), I opened an issue to the project to be sure. 👍 |
Answer from the opened issue:
|
Interesting to see this come out from Ericsson. They clearly label it beta, though. 👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq |
Nordic is an initiative from Ericsson I think. |
I'd be also very interested in having the option to use a redis cluster as the auth/auth backend. In my app, along the VerneMQ cluser I already have a redis cluster... Having the option to use a cluster would avoid having a spof. |
Describe your issue or feature request
The current
eredis
implementation doesn't support Redis cluster which prevent VerneMQ to retrieve the ACL iferedis
is not connected to the correct Redis shard.According to the
eredis
documentation, they recommend to use eredis_cluster as client when a connection to a Redis cluster is required.Describe the solution you'd like
The solution could be to add an option like
redis.cluster=on
, ifon
then we should loaderedis_cluster
and configure the client with the correct arguments, ifoff
we should load the standarderedis
client.Describe alternatives you've considered
No response
Environment
Add any other context, code samples or screenshots about the issue report here.
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: