It is, of course, your decision, but a key coordination function is to determine whether your application is up or not. That is very hard to do if Zookeeper is inside your application.
On Fri, Apr 23, 2010 at 10:28 AM, Asankha C. Perera <asan...@apache.org>wrote: > However, I believe that both the above are fine to live with for the > application under consideration, as ZK will be used only to coordinate > the larger application. Is there anything else that needs to be > considered - and can I safely shutdown the clientPort since the > application is always in the same JVM - but, if I do that how would I > "connect" to ZK thereafter ? >