Re: Message lost during leader fail-over

2014-05-29 Thread Chengwei Yang
On Thu, May 29, 2014 at 08:39:47PM -0700, Jun Rao wrote: > Have you looked at request.required.acks in > http://kafka.apache.org/documentation.html#producerconfigs ? Thanks Jun, that's make sense to me. -- Thanks, Chengwei > > Thanks, > > Jun

Message lost during leader fail-over

2014-05-29 Thread Chengwei Yang
gwei On Thu, May 29, 2014 at 07:52:11AM -0700, Jun Rao wrote: > You need to pass in multiple brokers in --broker-list in the producer. To > obtain the new leaders, the producer needs to talk to a live broker to get > the new metadata. > > Thanks, > > Jun > > > On Th

Re: producer & consumer fail if the leader failed-over

2014-05-29 Thread Chengwei Yang
the consumer failed? -- Thanks, Chengwei > > Thanks, > > Jun > > > On Thu, May 29, 2014 at 2:38 AM, Chengwei Yang > wrote: > > > Hi List, > > > > I'm new to kafka, feel sorry if this has been asked, I didn't figure out > > my answe

producer & consumer fail if the leader failed-over

2014-05-29 Thread Chengwei Yang
Hi List, I'm new to kafka, feel sorry if this has been asked, I didn't figure out my answer by googling, so asked here. Thanks in advance! I'm following the kafka quick start http://kafka.apache.org/documentation.html#quickstart and managed setup a kafka cluster with two brokers, which connected