Error connecting to node kafka-broker:9092 (id: 1 rack: null) java.net.UnknownHostException: kafka-broker

What is the advertised.listeners of your Kafka Cluster?

The bootstrap_servers in Logstash will get the the list of host from the configured server and this list will be the configured advertised.listeners, it is probably related to what @Badger mentioned.

1 Like