ERROR Error when sending message to topic

前端 未结 13 2239
借酒劲吻你
借酒劲吻你 2020-12-28 13:46

While producing message in kafka, i am getting the following error :

$ bin/kafka-console-producer.sh --broker-list localhost:9092 --topic nil_PF1_P1
hi
hello         


        
13条回答
  •  萌比男神i
    2020-12-28 13:58

    If you are running hortonworks cluster, check the listening port in ambari.

    In my case 9092 was not my port. I went to ambari and found the listening port was set to 6667 it worked for me. :)

提交回复
热议问题