Re: Safely deleting all existing topics?

2016-10-11 Thread Guozhang Wang
Ali, When I did testing / development, I usually delete zk directory as well (default is /tmp/zookeeper) for clean up. Guozhang On Tue, Oct 11, 2016 at 3:33 PM, Ali Akhtar wrote: > In development, I often need to delete all existing data in all topics, and > start over. > > My process for th

Safely deleting all existing topics?

2016-10-11 Thread Ali Akhtar
In development, I often need to delete all existing data in all topics, and start over. My process for this currently is: stop zookeeper, stop kafka broker, rm -rf ~/kafka/data/* But when I bring the broker back on, it often prints a bunch of errors and needs to be restarted before it actually wo