If you merely rolling bounce a zookeeper cluster while keeping a quorum, Kafka will recover automatically.
Thanks, Neha On May 23, 2013 9:21 AM, "Marc Labbe" <mrla...@gmail.com> wrote: > Thanks for the answer, I was looking for this information on my side as > well. > > If, for some reason, the ZK cluster restarts completely, how should we deal > with Kafka? Should we restart it, stop it before the ZK restart or will > Kafka recover automatically? > > This is mainly a question for a constantly changing development setup but > this is the kind of things that can happen even in prod, whether we like it > or not :) > > thanks, > marc > > > On Wed, May 22, 2013 at 12:10 PM, Neha Narkhede <neha.narkh...@gmail.com > >wrote: > > > First launch the zookeeper cluster completely followed by the kafka > > cluster. > > > > Thanks, > > Neha > > On May 22, 2013 8:43 AM, "Yu, Libo" <libo...@citi.com> wrote: > > > > > Hi, > > > > > > I want to launch kafka on three machines. I can launch zookeepers > > > on the three machines first. After that, start kafka server on each > > > machine. Or for each machine, I start a zookeeper followed by the > kafka. > > > I believe the first way is the right way to go. But I want to confirm > it. > > > > > > > > > Regards, > > > > > > Libo > > > > > > > > >