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

Add support for changing the external listener hostname #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adamnew123456
Copy link

I've found this option useful when using this container from WSL and accessing the Kafka broker from the host machine. Windows is picky about when it maps localhost:9093 to WSL's port 9093, and in situations where it doesn't work the only way I can connect to the broker is if it advertises the IP address given to the WSL VM.

(Of course you can do Very Dumb Things with this like expose the unauthenticated broker to the world without SSL, but the default advertised host is still localhost so you don't do it by accident)

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

Successfully merging this pull request may close these issues.

1 participant