Thanks. I will look into it. ----- Original Message ----- From: Timothy Chen <tnac...@gmail.com> At: Tuesday, May 20, 2014 18:56
There is a Scala API. You can take a look at TopicCommand.scala as kafka-topics.sh simply calls that class. Tim On Tue, May 20, 2014 at 3:41 PM, Saurabh Agarwal (BLOOMBERG/ 731 LEX -) <sagarwal...@bloomberg.net> wrote: > Hi, > > Is there java API in kafka to list topics and partitions in the kafka broker? > Thanks, > Saurabh.