Hi,

I am on Kafka 2.8.2. Looking for a way to check whether topic existed or
not in Java.

I saw there is a method called listTopics - TopicCommand.listTopics, but
the return type is void.

Is there an API to check topic existance? (preferable argument: (zkconnect,
topic))

Thanks in advance!

Best Regards,
Mingtao

Reply via email to