zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera" <asan...@apache.org>
Subject Embedding ZK in another application
Date Fri, 23 Apr 2010 17:28:41 GMT
Hi All

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 [1] 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 ?

thanks and regards

[1] http://markmail.org/message/tjonwec7p7dhfpms

View raw message