Description
CuratorFrameworkImpl lacks an option to skip Ensemble tracking.
Proposal is to include a new option in CuratorFrameworkFactory.Builder that allows to skip ensemble tracking. This can be useful in certain scenarios in which CuratorFramework is accessing to ZK clusters via load balancer or Virtual IPs. In this case ensemble tracking is avoiding CuratorFramework to support this kind of connectivity.
Proposal suggest including in CuratorFrameworkFactory.Builder 2 new methods:
- ensembleTracker(boolean) that allows to enable / disable ensembleTracker.
- withEnsembleTracker() that will return the value set via ensembleTracker method. If ensembleTracker was not used, then default value will return true for backwards compatibility.
Attachments
Issue Links
- relates to
-
FLINK-31780 Allow users to disable "Ensemble tracking" for ZooKeeper
- Resolved