Support Questions
Find answers, ask questions, and share your expertise

what is the safe and best way to delete the kafka topic folders

Solved Go to solution

Re: what is the safe and best way to delete the kafka topic folders

Expert Contributor
@Michael Bronson

As you have deleted the topic it looks like the consumer group is deleted, and you can remove the corresponding topic folders (from all nodes) and also the topic from zookeeper using the ZK CLI.

Highlighted

Re: what is the safe and best way to delete the kafka topic folders

just to be sure , so it will be safe to remove the topics use rm-rf as ( rm -rf hgpo.llo.prmt.processed-28 . rm -rf hgpo.llo.prmt.processed-28 and so on on all nodes ) ?

Michael-Bronson
Highlighted

Re: what is the safe and best way to delete the kafka topic folders

another thing the topics are exist under /brokers/topics/* and not under /consumers/..../.. so in this case I gues we need to remove the topic as rmr /brokers/topics/hgpo.llo.prmt.processed , can you confirm this please

Michael-Bronson
Don't have an account?