kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guozhang Wang <wangg...@gmail.com>
Subject Re: Safely deleting all existing topics?
Date Wed, 12 Oct 2016 01:46:24 GMT
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 <ali.rac200@gmail.com> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message