edge2ai-workshop icon indicating copy to clipboard operation
edge2ai-workshop copied to clipboard

Kafka listen all interface

Open campossalex opened this issue 2 years ago • 0 comments

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

campossalex avatar Aug 08 '22 14:08 campossalex