edge2ai-workshop
edge2ai-workshop copied to clipboard
Kafka listen all interface
The deployed Kafka service does not listen to localhost interface. For some tutorials, like Kafka Streams examples, the Java app is hard coded with the localhost parameter to reach out the Kafka broker.
I managed to configured to change a parameter, restart the service and listen to localhost (and all interface). Solution is described here: https://docs.cloudera.com/runtime/7.2.10/kafka-securing/topics/kafka-secure-multiple-listeners.html
Parameter value should be (and the one I used) is:
listeners=PLAINTEXT://:9092,SSL://:9093 advertised.listeners=PLAINTEXT://:9092,SSL://:9093