Support Questions

Find answers, ask questions, and share your expertise

is it possible to purge topic when kafka broker is down

avatar

we have hadoop cluster with 3 kafka machines we want to purge all the topics in the kafka

as the following

/usr/hdp/2.6.0.3-8/kafka/bin/kafka-topics.sh --zookeeper master:2181 --alter --topic Topic_Name --config retention.ms=1000

the problem is that two of the kafka machines have a problem that kafka broker on kafka01/02 restarting all the time , or kafka broker is down on kadka01/03

so my question is: can we purge Topics in spite kafka broker is down ?

Michael-Bronson
10 REPLIES 10

avatar

and about - "as well the zookeeper data" , how to do this?

Michael-Bronson