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 <[email protected]> wrote:

> 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 works.
>
> I'm assuming some info is being persisted on Zookeeper.
>
> Any ideas which other data I need to delete to start over w/ a clean slate?
>
> Thanks.
>



-- 
-- Guozhang

Reply via email to