Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Kafka producer fails to update metadata

Kafka producer fails to update metadata

New Contributor

Hi,

We have a custom Java code producing messages from file data. We are able to produce the messages but while writing them on to topic it is giving timeout error

java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.

Has anyone faced similar issue earlier. Any guidance to get this fixed is highly appreciated

Regards,

Phaneendra

1 REPLY 1

Re: Kafka producer fails to update metadata

Hi @Phaneendra S that error message most usually means you have incorrectly configured your Producer and it is not actually managing to talk with the Kafka service. You should check both your application logs and the kafka service logs to see what the error is.
You could try connecting to the Kafka using your Parameters in NiFi, if it works you will know that your Producer code is at fault.

Don't have an account?
Coming from Hortonworks? Activate your account here