kafka-proxy icon indicating copy to clipboard operation
kafka-proxy copied to clipboard

one port mapping to 6 broker

Open lawrence-zhang opened this issue 3 months ago • 2 comments

Hi team, I have a situation, currently we just have one port like 12688 is open and as a r-proxy server port. there are 6 broker with 9092 in backend. can we use 12688 port to forward all traffic to 6 kafka brokers?

lawrence-zhang avatar Mar 22 '24 12:03 lawrence-zhang

I meet same problem, is there any update?

IfanTsai avatar May 03 '24 08:05 IfanTsai

I suppose this isn't possible because of how kafka-proxy works, as described in README

For discovered brokers (not configured as the boostrap servers), local listeners are started on random ports

By the way, I'm curious why you need one-port-multi-broker mapping feature. @IfanTsai

ocadaruma avatar May 07 '24 11:05 ocadaruma