-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
Description
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
vertx-redis-client/src/main/java/io/vertx/redis/client/impl/RedisSentinelClient.java
Line 251 in 9c704f3
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