How to list Topics in Confluent Kafka?

281 views
Skip to first unread message

Syed Mudassir Ahmed

unread,
Nov 30, 2016, 1:57:32 AM11/30/16
to Confluent Platform
Friends,
  I am using Confluent Kafka Java API.  How can I fetch the list of presently available topics in my cluster using Java?  Any reference would be appreciated.

Matthias J. Sax

unread,
Nov 30, 2016, 3:51:30 PM11/30/16
to confluent...@googlegroups.com
Have a look into kafka.admin.TopicCommand --it has a --list option.
> --
> You received this message because you are subscribed to the Google
> Groups "Confluent Platform" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to confluent-platf...@googlegroups.com
> <mailto:confluent-platf...@googlegroups.com>.
> To post to this group, send email to confluent...@googlegroups.com
> <mailto:confluent...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/confluent-platform/dd962a7c-bf5b-47ce-b903-f76fdad24184%40googlegroups.com
> <https://groups.google.com/d/msgid/confluent-platform/dd962a7c-bf5b-47ce-b903-f76fdad24184%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

signature.asc
Reply all
Reply to author
Forward
0 new messages