- 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 unable to produce data
- Labels:
-
Apache Kafka
Created on
‎12-29-2019
04:40 AM
- last edited on
‎12-29-2019
08:44 AM
by
ask_bill_brooks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I was able to create topic in Kafka . But unable to produce data into it .
Error
[2019-12-29 13:35:56,810] ERROR Error when sending message to topic latest123 with key: null, value: 2 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.
Please help
Created ‎01-13-2020 08:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Am also facing the same errors, do we have any solution for this.
[2020-01-13 14:56:30,165] ERROR Error when sending message to topic kunaltestihub with key: null, value: 2515 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)org.apache.kafka.common.errors.TimeoutException: Expiring 10 record(s) for kunaltestihub-4: 1501 ms has passed since last append
Created ‎01-13-2020 09:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Whicout sharing the command being executed, it's difficult to help, please can you include the Kafka version whether standalone orCDH/HDP.
Your kafka-console-producer.sh command could be the source of problems.
HTH
Created ‎03-10-2020 02:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The issue has been resolved. I crossed checked my command and I was not passing the client certificate due to that I was getting this error.
Thanks to all for your support.
