You can issue a TopicMetadataRequest. See https://cwiki.apache.org/confluence/display/KAFKA/0.8.0+SimpleConsumer+Example
Thanks, Jun On Tue, May 20, 2014 at 3:41 PM, Saurabh Agarwal (BLOOMBERG/ 731 LEX -) < [email protected]> wrote: > Hi, > > Is there java API in kafka to list topics and partitions in the kafka > broker? > Thanks, > Saurabh.
