- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Unable to send data to Kafka from Nifi
- Labels:
-
Apache Kafka
-
Apache NiFi
Created ‎10-11-2021 12:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Support Team,
I am facing the issue of timeout while sending data to Kafka from Nifi.
In Nifi I am using Publish_Kafka_1_0 transformer configured like this :
I tested previously the connection between Nifi server and Kafka server towards 9092 port and it's fine.
Unfortunatly while executing the transformer, the following error is appearing:
Failed to send StandardFlowFileRecord[uuid=b01bfeb3-3ce7-42c2-9abb-9a9f9930b87c,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1633677179202-1, container=default, section=1], offset=20, length=4],
offset=0,name=b01bfeb3-3ce7-42c2-9abb-9a9f9930b87c,size=4]
to Kafka: org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 20000 ms.
The kerberos connection is totally fine, so I don't know which is the connection bottleneck.
Can you kindly provide any hints ?
Thanks,
Daniele.
Created ‎11-29-2021 05:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @dansteu
The kerberos service name property has to be the service name specified for the kafka service which is usually "kafka".
