You can check this http://kafka.apache.org/documentation.html#basic_ops_add_topic
But from our experience it is best to delete topics one by one, i.e., make sure Kafka is in good shape before and after deleting a topic before working on next one. Regards, -- Jianbin > On Oct 11, 2016, at 9:26 PM, Ratha v <vijayara...@gmail.com> wrote: > > Thanks..Which bash script I need to run? > >> On 12 October 2016 at 15:20, Ali Akhtar <ali.rac...@gmail.com> wrote: >> >> The last time I tried, I couldn't find a way to do it, other than to >> trigger the bash script for topic deletion programatically. >> >>> On Wed, Oct 12, 2016 at 9:18 AM, Ratha v <vijayara...@gmail.com> wrote: >>> >>> Hi all; >>> >>> I have two topics(source and target). I do some processing on the message >>> available in the source topic and i merge both topic. >>> That is; >>> >>> builder.stream(sourceTopic).to(targetTopic) >>> >>> Once merged I no longer require the sourceTopic. I want to delete it. >>> >>> How can I do that programatically in java? I use highelevel client APIs, >>> kafka v 0.10.0.1 >>> >>> >>> Thanks >>> -- >>> -Ratha >>> http://vvratha.blogspot.com/ >>> >> > > > > -- > -Ratha > http://vvratha.blogspot.com/