I'm very new to ZK, and am looking at embeding ZK into an app that needs
cluster management - and the objective is to use ZK to notify
application cluster control operations (e.g. shutdown etc) across nodes.
I came across this post  from the user list by Ted Dunning from some
months back :
"My experience with Katta has led me to believe that embedding a ZK in a
product is almost always a bad idea. - The problems are that you can't
administer the Zookeeper cluster independently and that the cluster
typically goes down when the associated service goes down."
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 ?