Re: Failed to produce message from the second producer

2013-11-11 Thread Priya Matpadi
Please specify both the brokers in same order for each producer as follows: kafkaBrokerList=:,: The reason I suspect second broker is not functioning as expected because broker 0 is leader for both partitions as well as it is the only isr. Assuming producer on second machine can connect to broker

Re: Failed to produce message from the second producer

2013-11-11 Thread ji yan
@Priya, I have two brokers, each running on each of two machines. The producer broker-list is pointing to the broker server on the same machine as the producer. @Jun, I created the topic using kafka-create-topic.sh, the error is consistently reproduceble On Mon, Nov 11, 2013 at 9:51 AM, Jun Rao

Re: Detail description of metrcs value?

2013-11-11 Thread Jun Rao
Those mbeans are registered by the metrics-core package. You can find out the description in http://metrics.codahale.com/manual/core/ Thanks, Jun On Mon, Nov 11, 2013 at 10:36 AM, hsy...@gmail.com wrote: > Hi guys, > > Is there a detail document about the attributes and objectnames about the

Detail description of metrcs value?

2013-11-11 Thread hsy...@gmail.com
Hi guys, Is there a detail document about the attributes and objectnames about the mbeans? For example, what does attribute "MeanRate" of Object "MessagesPerSec" mean? It's the mean value of last 1 sec/1min ? http://kafka.apache.org/documentation.html#monitoring only have a little information ab

Re: Failed to produce message from the second producer

2013-11-11 Thread Jun Rao
Are those ERROR transient? If so, this is normal when the topic didn't exist and was auto created. Thanks, Jun On Mon, Nov 11, 2013 at 12:12 AM, ji yan wrote: > Hi Kafka Users > > I have a test setup at home with one machine hosting a zookeeper server and > a broker server, while the second m

Re: Failed to produce message from the second producer

2013-11-11 Thread Priya Matpadi
It doesn't look like second broker is available. What is the broker list property for each of the producers? Best, Priya Matpadi > On Nov 11, 2013, at 12:12 AM, ji yan wrote: > > Hi Kafka Users > > I have a test setup at home with one machine hosting a zookeeper server and > a broker server,

Failed to produce message from the second producer

2013-11-11 Thread ji yan
Hi Kafka Users I have a test setup at home with one machine hosting a zookeeper server and a broker server, while the second machine hosting a broker server. On the first machine, producing and consuming messages are ok. But on the second one, producing message throws this error in the log. The