On Fri, Sep 23, 2011 at 4:46 PM, Yuhan Zhang <[email protected]> wrote:
> also, is auto-reconnection available through zooKeeper API?
> I'd like to keep a very long session/connection. Is this a good practice
> with zooKeeper?

The client will always try to reconnect if it becomes disconnected,
however not if the session becomes expired. That page I linked on
sessions provides details, as does the FAQ.
https://cwiki.apache.org/confluence/display/ZOOKEEPER/FAQ

Patrick

Reply via email to