Re: orders of launching kafka servers and zookeepers

2013-05-23 Thread Marc Labbe
For the sake of the discussion and for others reading this... In a live/production environment, I guess it is safe to say that if ZK is down for any period of time, the best bet is to also stop Kafka and restart it once ZK is back up? On Thu, May 23, 2013 at 12:26 PM, Neha Narkhede wrote: > If

Re: orders of launching kafka servers and zookeepers

2013-05-23 Thread Neha Narkhede
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" wrote: > Thanks for the answer, I was looking for this information on my side as > well. > > If, for some reason, the ZK cluster restarts

Re: orders of launching kafka servers and zookeepers

2013-05-23 Thread Marc Labbe
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

Re: orders of launching kafka servers and zookeepers

2013-05-22 Thread Neha Narkhede
First launch the zookeeper cluster completely followed by the kafka cluster. Thanks, Neha On May 22, 2013 8:43 AM, "Yu, Libo" 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

orders of launching kafka servers and zookeepers

2013-05-22 Thread Yu, Libo
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, L