Skip to content

feat(devkit): add HOST listener and simplify port mappings#3285

Merged
Gezi-lzq merged 2 commits into
mainfrom
cherry-pick/devkit-host-listener
Apr 7, 2026
Merged

feat(devkit): add HOST listener and simplify port mappings#3285
Gezi-lzq merged 2 commits into
mainfrom
cherry-pick/devkit-host-listener

Conversation

@Gezi-lzq

@Gezi-lzq Gezi-lzq commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Cherry-pick from 1.6 branch:

Test plan

  • just start-build 3 — all nodes healthy
  • Host-side client connects via localhost:9092 and reaches all brokers

Gezi-lzq added 2 commits April 4, 2026 01:14
Add a HOST listener on port 29092 (container) mapped to
NODE_ID*10000+9192 (host) so that host-side Kafka clients
(Python, Java) can connect without /etc/hosts hacks.

Previously advertised.listeners used container hostnames
(node-0:9092) which are unresolvable from the host.
…TEXT/CONTROLLER exports

Remove unused PLAINTEXT and CONTROLLER host port mappings since they are
unreachable from the host (advertised.listeners uses container hostnames).
Reuse the X9092 port slots for HOST listener and change the container-side
HOST port from 29092 to 9192 to avoid confusing collision with node-2.
@Gezi-lzq
Gezi-lzq merged commit a7f89b3 into main Apr 7, 2026
10 checks passed
@Gezi-lzq
Gezi-lzq deleted the cherry-pick/devkit-host-listener branch April 7, 2026 02:20
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.

2 participants