You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jacky.J.Wang (mis.cnxa01.Newegg) 43048" <Ja...@newegg.com.INVALID> on 2014/09/13 10:22:15 UTC

(info)how kafka delete the specific topic data

Hello kafka

I truncate data of kafka as follow

1:stop kafka service
2:delete zookeeper /broker/topics/topic and /consumers/group
3:delete kafka log dir
4:restart kafka service
5:recreate topic info
but this way need to stop the service,so how truncate kafka topic data with no stopping kafka service?

Eagerly awaiting your reply,thanks


Best regards,
Jacky.J.Wang
Eng Software Engineer,NESC-XA
Newegg Tech (Xian) Co., Ltd.
15th to 16th floor, 01 Plaza, Xi’an Software Park, No. 72 Keji 2nd Road, Xi’an P.R.China(710075)
Once you know, you Newegg.
-------------------------------------------------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This email and any files transmitted with it may contain privileged or otherwise confidential information.  It is intended only for the person or persons to whom it is addressed. If you received this message in error, you are not authorized to read, print, retain, copy, disclose, disseminate, distribute, or use this message any part thereof or any information contained therein. Please notify the sender immediately and delete all copies of this message. Thank you in advance for your cooperation.
保密注意:此邮件及其附随文件可能包含了保密信息。该邮件的目的是发送给指定收件人。如果您非指定收件人而错误地收到了本邮件,您将无权阅读、打印、保存、复制、泄露、传播、分发或使用此邮件全部或部分内容或者邮件中包含的任何信息。请立即通知发件人,并删除该邮件。感谢您的配合!


Re: (info)how kafka delete the specific topic data

Posted by Jun Rao <ju...@gmail.com>.
We are working on an admin tool to delete an existing topic in trunk.

Thanks,

Jun

On Sat, Sep 13, 2014 at 1:22 AM, Jacky.J.Wang (mis.cnxa01.Newegg) 43048 <
Jacky.J.Wang@newegg.com.invalid> wrote:

> Hello kafka
>
> I truncate data of kafka as follow
>
> 1:stop kafka service
> 2:delete zookeeper /broker/topics/topic and /consumers/group
> 3:delete kafka log dir
> 4:restart kafka service
> 5:recreate topic info
> but this way need to stop the service,so how truncate kafka topic data
> with no stopping kafka service?
>
> Eagerly awaiting your reply,thanks
>
>
> Best regards,
> Jacky.J.Wang
> Eng Software Engineer,NESC-XA
> Newegg Tech (Xian) Co., Ltd.
> 15th to 16th floor, 01 Plaza, Xi’an Software Park, No. 72 Keji 2nd Road,
> Xi’an P.R.China(710075)
> Once you know, you Newegg.
>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
> CONFIDENTIALITY NOTICE: This email and any files transmitted with it may
> contain privileged or otherwise confidential information.  It is intended
> only for the person or persons to whom it is addressed. If you received
> this message in error, you are not authorized to read, print, retain, copy,
> disclose, disseminate, distribute, or use this message any part thereof or
> any information contained therein. Please notify the sender immediately and
> delete all copies of this message. Thank you in advance for your
> cooperation.
>
> 保密注意:此邮件及其附随文件可能包含了保密信息。该邮件的目的是发送给指定收件人。如果您非指定收件人而错误地收到了本邮件,您将无权阅读、打印、保存、复制、泄露、传播、分发或使用此邮件全部或部分内容或者邮件中包含的任何信息。请立即通知发件人,并删除该邮件。感谢您的配合!
>
>