I would like to know the broker which is the leader of a particular topic partition via the Kafka Client. I looked around a lot on Stackoverflow and Google but could find only the APIs provided by zkUtils, which is now deprecated. What is the recommended way for finding this metadata info now? Thank you.
... View more