Skip to content

Add support for different password for sentinel nodes and master node #507

@remibaptistegio

Description

@remibaptistegio

Describe the feature

Redis supports having a different password for the sentinel nodes and the master node. After some tests, it seems that this is not supported by the client.
After looking at the code, when the RedisURI is created for the master, the RedisURI used to connect to the sentinel node is reused and with it the same password used to connect to the sentinel node

handler.succeed(new RedisURI(uri, rHost.contains(":") ? "[" + rHost + "]" : rHost, rPort));

Do you agree with my analysis ? And do you think that we could define the sentinel password in the endpoint list and use the password property to define the master password ?

Contribution

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions