Are you using 0.8 HEAD ? Can you send around the full stack trace since one of the common reasons for failed topic metadata requests are socket timeouts.
Thanks, Neha On Wed, Oct 9, 2013 at 4:30 PM, Shafaq <s.abdullah...@gmail.com> wrote: > I run into following error while doing some performance testing in Kafka > with producers running in multiple threads. > > I can see the topic under /broker/topics in zooKeeper > > I believe the producer tries to get the metadata info from Zookeeper. > > I have tried to restart the 2-node Kafka broker cluster but of no use. > > Any idea what can cause this to happen? > I'm using kafka 0.8 version > > --------------------------------------------------------------------------------------- > > Exception in thread "pool-1-thread-1" kafka.common.KafkaException: Failed > to fetch topic metadata for topic: 37topic1381360774212 > at > > kafka.producer.BrokerPartitionInfo.getBrokerPartitionInfo(BrokerPartitionInfo.scala:53) > at > > kafka.producer.async.DefaultEventHandler.kafka$producer$async$DefaultEventHandler$$getPartitionListForTopic(DefaultEventHandler.scala:185) > -- > Kind Regards, > Shafaq >