Tuesday, June 16, 2020

To Delete all data from Kafka Topic - in a manual way

to delete the data inside the topic:
Steps:
  1. stop the Kafka server & zookeeper
  2. go into this folder - > gerrit\backend\docker\zk-single-kafka-single\kafka1\data
  3. and delete all the "XXX" topic folder 
  4. start the kafka & zookeeper