Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Allow use of inter broker listener name for admin client #1

Open
Vanlightly opened this issue Apr 22, 2019 · 0 comments
Open

Allow use of inter broker listener name for admin client #1

Vanlightly opened this issue Apr 22, 2019 · 0 comments

Comments

@Vanlightly
Copy link

The reporter seems to use the first advertised listener as the bootstrap server for the admin client. This can present a challenge when using docker-compose as the resolvable broker names inside the cluster and outside of the cluster may be different.

I have worked around this by starting the cluster with the advertised listeners being the docker-compose service names. This allows the HTTP reporter to function. Before starting any clients, I then dynamically change the advertised listener to the assigned IP address of each container, in order to allow external clients to produce and consume.

If we could tell the listener to use the listener specified by the inter.broker.listener.name configuration, then we avoid this issue.

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

No branches or pull requests

1 participant