-
Notifications
You must be signed in to change notification settings - Fork 41.5k
Description
Redis Cluster can be reconfigured at runtime and Redis clients should to pick up these changes to stay operable. Updating the topology is a specialized topic on its own as Redis Cluster does not push changes to the client but rather clients need to poll topology changes.
Automated (background) topology refresh is currently supported only by Lettuce via ClusterClientOptions
and a nested ClusterTopologyRefreshOptions
object.
Jedis does not support background topology refreshing.
It would make sense to provide some means to configure cluster topology refresh. The way how Lettuce topology updating is configured (setting ClusterClientOptions
via LettuceClientConfigurationBuilder
) might contradict with LettuceClientConfigurationBuilderCustomizer
.
What do you think?
See also: