You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Evaristo (Jira)" <ji...@apache.org> on 2020/05/02 07:41:00 UTC

[jira] [Created] (CURATOR-568) New option allowing CuratorFramework skip ZK ensemble tracking

Evaristo created CURATOR-568:
--------------------------------

             Summary: New option allowing CuratorFramework skip ZK ensemble tracking
                 Key: CURATOR-568
                 URL: https://issues.apache.org/jira/browse/CURATOR-568
             Project: Apache Curator
          Issue Type: Improvement
          Components: Framework
    Affects Versions: 4.3.0
            Reporter: Evaristo


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.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)