You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/04/29 15:41:00 UTC

[GitHub] [shardingsphere-elasticjob] smallersoup opened a new issue, #2072: Build CuratorFrameworkFactory supports an option to skip Ensemble tracking.

smallersoup opened a new issue, #2072:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2072

   ## Feature Request
   
   ### Is your feature request related to a problem?
   Yes,in my scene,the curator connects to the zookeeper cluster in Kubernetes, the Pod may restart at any time, and the pod IP changes, so to close the ensembleTracker, then curator connects the zookeeper service cluster IP forever.
   
   ### Describe the feature you would like.
   
   Build CuratorFrameworkFactory lacks an option to skip Ensemble tracking.
   CuratorFrameworkFactory.Builder include a new option 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 ZookeeperConfiguration 1 new field:
   ● private boolean ensembleTracker = true that allows to enable / disable ensembleTracker,then default value will return true for backwards compatibility.
   ● init method in ZookeeperRegistryCenter build CuratorFrameworkFactory set ensembleTracker(zkConfig.isEnsembleTracker()).
   
   Please answer these questions before submitting your issue. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere-elasticjob] linghengqian commented on issue #2072: Build CuratorFrameworkFactory supports an option to skip Ensemble tracking.

Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #2072:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/2072#issuecomment-1724021939

   - So you want to PR this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org