zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Hunt <ph...@apache.org>
Subject Re: SessionExpiredException. help please
Date Mon, 26 Sep 2011 16:19:29 GMT
On Fri, Sep 23, 2011 at 4:46 PM, Yuhan Zhang <yzhang@onescreen.com> 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.


View raw message