Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka listen all interface #18

Open
campossalex opened this issue Aug 8, 2022 · 0 comments
Open

Kafka listen all interface #18

campossalex opened this issue Aug 8, 2022 · 0 comments

Comments

@campossalex
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant