- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Kafka producer fails to update metadata
- Labels:
-
Apache Kafka
Created ‎11-16-2017 02:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎11-20-2017 08:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
