Support Questions

Find answers, ask questions, and share your expertise

Not able to read from kafka topic


 I am running Metron using Ambari in single node and also set up three node. Few months back , we are able to send messages to  Kafka topic and see in Metron dashboard. But now , I am getting the following error message "Connection to node -1 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)". For three node also getting the same warning and not able to see any messages. Installed kafka broker in all three nodes.  What are all the properties needs to be configured in Kafka








Can you try adding "advertised.listeners" in Kafka




yes i gave . still it is not working . For three node set up using HDP in ambari , what should i configure as listeners and bootstrap server 

Expert Contributor

Hello @nhemamalini 


Are you able to send/consume data to/from the topics by using the Kafka command line?



bin/ --broker-list node1:6667 --topic <topicName>
bin/ --bootstrap-server node1:6667 --topic <topicName> --from-beginning


Hi Now i am able to read the messages from the Kafka topic but in the storm i am getting the below error. How can i delete the messages that storm trying to process.

Caused by: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
2019-09-12 12:38:10.786 o.a.s.d.executor Thread-6-errorMessageWriter-executor[3 3] [ERROR] 
java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
	at org.apache.kafka.clients.producer.KafkaProducer$FutureFailure.<init>( ~[stormjar.jar:?]
	at org.apache.kafka.clients.producer.KafkaProducer.doSend( ~[stormjar.jar:?]
	at org.apache.kafka.clients.producer.KafkaProducer.send( ~[stormjar.jar:?]
	at org.apache.kafka.clients.producer.KafkaProducer.send( ~[stormjar.jar:?]
	at org.apache.metron.writer.kafka.KafkaWriter.write( ~[stormjar.jar:?]
	at org.apache.metron.writer.BulkWriterComponent.flush( [stormjar.jar:?]
	at org.apache.metron.writer.BulkWriterComponent.applyShouldFlush( [stormjar.jar:?]
	at org.apache.metron.writer.BulkWriterComponent.write( [stormjar.jar:?]
	at org.apache.metron.parsers.bolt.WriterHandler.write( [stormjar.jar:?]
	at org.apache.metron.parsers.bolt.WriterBolt.execute( [stormjar.jar:?]



How can i delete the entire messages from the storm reprocessing it again and again

New Contributor

Did you tried using FQDN to produce kafka and also add them in /etc/hosts file with proper FQDN as same as you given in kafka config



I didnt use FQDN, instead i just added ip in /etc/hosts file. i used the same host ip in the kafka config