i thought there was a jira about supporting embedded zookeeper. (i
remember rejecting a patch to fix it. one of the problems is that we
have a couple of places that do System.exit().) i can't seem to find it
though.
one case that would be great for embedding is writing test cases, so i
think it would be useful for that.
ben
On 08/12/2010 03:25 PM, Ted Dunning wrote:
I am not saying that the API shouldn't support embedded ZK.
I am just saying that it is almost always a bad idea. It isn't that I am
asking you to not do it, it is just that I am describing the experience I
have had and that I have seen others have. In a nutshell, embedding leads
to problems and it isn't hard to see why.
On Thu, Aug 12, 2010 at 3:02 PM, Vishal K<vishalm...@gmail.com> wrote:
2. With respect to Ted's point about backward compatibility, I would
suggest
to take an approach of having an API to support embedded ZK instead of
asking users to not embed ZK.