curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pratap k <>
Subject Re: Curator Method calls are blocking when zookeeper is down
Date Fri, 09 Oct 2015 15:17:37 GMT
Thanks,  It will work !!Anything as long a different retry policy accepted other than connection
retry policy. It would be great to have one global retry policy for Zookeeper API retry.

But, I just want to know how others are building their application, it is a big issue as it
will impact resilience of web apps.

     On Friday, October 9, 2015 8:39 PM, Mike Drob <> wrote:

 I think Jordan was presenting that as a possible API and asking if that would meet your needs.

On Fri, Oct 9, 2015 at 10:07 AM, pratap k <> wrote:

I couldn't find withRetryPolicy

     On Friday, October 9, 2015 8:16 PM, Jordan Zimmerman <>

 CuratorFramework.withRetryPolicy() - it would be the same Curator connection but with a different
retry policy. Similar to CuratorFramework.withNamespace().

On Oct 9, 2015, at 9:44 AM, pratap k <> wrote:
>> Lastly, we could add a method to change the retry policy.That would be great, but
only if doesn't change connection retry policy.
As said, better to have one retry policy for connection retry, and other for application threads
Zookeeper API calls.


View raw message