Is there any documentation or example usage of zookeeper-master component?

2018-01-09 13:17 GMT+01:00 Claus Ibsen-2 [via Camel]
<ml+s465427n5816554...@n5.nabble.com>:
> 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

Reply via email to