It looks like events from Zookeeper are dispatches from its event thread:
java.lang.Exception
        at foo.zookeeper.WatcherImpl.process(NodeWatcher.java:54)
        at
org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:349)

... it seems like a good idea to have implementations perform work in their
own thread to avoid zookeeper from hitting backlog if one client decides to
perform some complex operation in one event when there are hundreds of
events pending delivery.

Kevin

-- 
Founder/CEO Spinn3r.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com

Reply via email to