NoBrokersAvailable: NoBrokersAvailable-Kafka Error

前端 未结 6 1137
南旧
南旧 2021-01-12 12:13

i have already started to learn Kafka. Trying basic operations on it. I have stucked on a point which about the \'Brokers\'.

My kafka is running but when i want to

6条回答
  •  一整个雨季
    2021-01-12 12:48

    The problem for me, was the firewall rule as I am running Kafka on Google Cloud.

    It was working for me yesterday and I was scratching my head today for 1 hour thinking about why it doesn't work anymore .

    As the public IP address of my local system changes every time I connect to a different LAN or WiFi, I had to allow my local system's public IP in the firewall rules. I would suggest using a connection with a fixed public IP or to check for this whenever you switch/change your connection.

    These small changes in the configurations take too much to debug and fix them. Felt like wasted an hour for this.

提交回复
热议问题