Kafka QuickStart, advertised.host.name gives kafka.common.LeaderNotAvailableException

前端 未结 6 1059
一生所求
一生所求 2020-12-04 15:04

I am able to get a simple one-node Kafka (kafka_2.11-0.8.2.1) working locally on one linux machine, but when I try to run a producer remotely I\'m getting some confusing err

6条回答
  •  爱一瞬间的悲伤
    2020-12-04 15:27

    On your machine where Kafka is installed, check if it is up and running. The error states, 0 brokers are available that means Kafka is not up and running.

    On linux machine you can use the netstat command to check if the service is running.

    netstat -an|grep port_kafka_is_Listening ( default is 9092)

提交回复
热议问题