Skip to content

Add configuration to enable Redis Cluster topology refresh #15630

@mp911de

Description

@mp911de

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:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions