Created 04-08-2016 09:48 PM
Hello,
I am learning how to use the PutKafka processor to store my live trucking data as a message into kafka. However, when I start my dataflow, I receive the following error message:
I also included the property values that I have set for my PutKafka processor:
The Client Name value is Zookeeper.
I have the latest version of HDF 1.2.
Why am I receiving this error?
Here is my nifi template:
Any help is highly appreciated! Thank you!
Created 04-09-2016 04:35 PM
Is your kafka up and topic created? Change localhost to sandbox.hortonworks.com
Created 04-09-2016 01:24 AM
Your port number for Kafka broker is wrong, the default on Sandbox is 6667. You are using 2181 which is the Zookeeper's port.
Created 04-09-2016 02:57 PM
I added localhost:6667 to the property value section of the PutKafka processor. I am still getting the same error. Any other ideas on how to solve this error? Thank you again.
Created 04-09-2016 06:17 PM
Switch to sanbox for host
Created 04-09-2016 04:35 PM
Is your kafka up and topic created? Change localhost to sandbox.hortonworks.com
Created 04-09-2016 08:38 PM
Thank you! it worked! sandbox.hortonworks.com:6667
Is the write for PutKafka suppose to be 0 bytes?
Thanks.
Created 04-09-2016 09:06 PM
You do not have a processor out of putKafka so it's 0. Please accept best answer.
Created on 12-20-2017 08:54 AM - edited 08-18-2019 04:33 AM
hi all, i'm still getting "PutKafka Error : failed while waiting for acks from kafka" error though i see some values under "In" & "Read".
but i see attached consumer console error.
Also,i see something strange here. When i remove out Kafka from "maintenance mode" on Ambari and start the kafka broker,
it gets stopped by itself after a while.
please help me on this & find supporting attachments. @jmedel @Predrag Minovic @Artem Ervits
Note: I'm using HDP 2.6
Regards,
Akshay
putkafka-processor-nifi-properties.png