Is it possible in Apache kafka through the kafkacat command to see which partition is located in broker? for example: broker 0 partition 1,2
broker 1 partition 0,1,2
Many thanks
I use the .\bin\win\kafkacat -L -b hostname:port command it shows BROKERS and a partitions, but does not show a relationship between them.
You can use built-in
kafka-topics --describecommand. This will show replica placement and leader partition by broker IDsBut that same information is in latest release of
kcat -Loutput1001maps tobroker.idinserver.properties... If you want a reverse lookup to a host/IP, then you need to do extra work.