There is no such thing in ZooKeeper itself. Apache Curator simulates this by generating an error if the connection doesn't succeed within a given period of time.
-JZ > On Oct 28, 2019, at 6:03 PM, V P <[email protected]> wrote: > > Hello, > > Could someone please point me to a place in the documentation on how to > configure ConnectionTimeout for a ZooKeeper client connection? (Note: What > I'm asking is different from SessionTimeout) > > For example, if my ZK server is not available/not valid, is there a way for > ZK client to stop retrying after "x" ms. > > Thank you.
