Yeah I think it does. Can you give it a try, and we can improve the docs. On Tue, Jan 9, 2018 at 4:47 PM, Dennis Holunder <dennish...@gmail.com> wrote: > thank you! > Does it support multiple zookeeper comma-separated URLs? The example > in docs uses just one localhost > > masterRoutePolicy.setZooKeeperUrl("host1:2181,host2:2181,host3:2181"); > > 2018-01-09 16:25 GMT+01:00 Claus Ibsen-2 [via Camel] > <ml+s465427n5816563...@n5.nabble.com>: >> Yes check its doc page >> https://github.com/apache/camel/blob/master/components/camel-zookeeper-master/src/main/docs/zookeeper-master-component.adoc >> >> And its also covered in the CiA2 book in the clustering chapter. >> >> On Tue, Jan 9, 2018 at 1:38 PM, Dennis Holunder <[hidden email]> wrote: >> >>> Is there any documentation or example usage of zookeeper-master component? >>> >>> 2018-01-09 13:17 GMT+01:00 Claus Ibsen-2 [via Camel] >>> <[hidden email]>: >>>> Try the zookeeper-master component - it should be better >>>> >>>> On Tue, Jan 9, 2018 at 12:55 PM, Dennis Holunder <[hidden email]> wrote: >>>> >>>>> Hello, >>>>> >>>>> I'm using zookeeper route policy for leader selection on 8 instances >>>>> of my route and get sometimes 2 leaders selected. What I'm doing wrong >>>>> here? >>>>> >>>>> String uri = "zookeeper:srv1:2181,srv2:2181,srv3:2181/myapp/myroute"; >>>>> >>>>> ZooKeeperRoutePolicy policy = new ZooKeeperRoutePolicy(uri, 1); >>>>> policy.setShouldStopConsumer(false); >>>>> >>>>> from("cron").routePolicy(policy).log("started"); >>>>> >>>>> Denny >>>> >>>> >>>> >>>> -- >>>> Claus Ibsen >>>> ----------------- >>>> http://davsclaus.com @davsclaus >>>> Camel in Action 2: https://www.manning.com/ibsen2 >>>> >>>> >>>> ________________________________ >>>> If you reply to this email, your message will be added to the discussion >>>> below: >>>> >>>> http://camel.465427.n5.nabble.com/zookeeper-leader-selection-selects-multiple-leaders-tp5816553p5816554.html >>>> To unsubscribe from Camel, click here. >>>> NAML >> >> >> >> -- >> Claus Ibsen >> ----------------- >> http://davsclaus.com @davsclaus >> Camel in Action 2: https://www.manning.com/ibsen2 >> >> >> ________________________________ >> If you reply to this email, your message will be added to the discussion >> below: >> http://camel.465427.n5.nabble.com/zookeeper-leader-selection-selects-multiple-leaders-tp5816553p5816563.html >> To unsubscribe from Camel, click here. >> NAML
-- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2