Skip to content

Add support for changing the external listener hostname#6

Open
adamnew123456 wants to merge 1 commit intomoeenz:mainfrom
adamnew123456:config-advertise-host
Open

Add support for changing the external listener hostname#6
adamnew123456 wants to merge 1 commit intomoeenz:mainfrom
adamnew123456:config-advertise-host

Conversation

@adamnew123456
Copy link
Copy Markdown

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