Support Questions
Find answers, ask questions, and share your expertise

kafka metadata request

kafka metadata request

Explorer

Hi there, I am just executing some KafkaTestCases on console. Zookeeper and Kafka brokers are started(I am seeing this in Ambari). There are 3 Zookeepers and 2 Kafka-Brokers are running.

I ran "bin/kafka-console-producer.sh --broker-list EdgeNodeAddress:xxxx --topic test21"

Note: EdgeNodeAddress is the console where i am issuing the producer console command and

I ran " bin/kafka-console-consumer.sh --zookeeper zookeeperaddress:2181 --topic test21 --from-beginning" As soon as i ran the Kafka-Console-Consumer.sh script, It keeps on generating message like

{metadata.broker.list=xxxxxxx2.xxxx:7903,xxxxxxxx2.xxxxxx:7903, request.timeout.ms=30000, client.id=console-consumer-1927, security.protocol=PLAINTEXT} This message is keeps on generating until i stop it myself. It goes on like "while loop without meeting condition" I troubleshooted zookeeper zkcli.sh to check if i could see the broker list(ls /brokers/ids) and it shows the broker ids [0,1] I am not sure what is the issue.

Please share your knowledge on this ASAP. Thanks in advance.

1 REPLY 1

Re: kafka metadata request

In older versions of Kafka there was a bug described as the last bullet here: Open /usr/hdp/current/kafka-broker/bin/kafka-console-consumer.sh and check do you have any lines exporting KAFKA_CLIENT_KERBEROS_PARAMS. If so, comment it out, and retry.