You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Jason Huang <ja...@icare.com> on 2013/02/01 16:25:16 UTC

Delete Topic with 0.8?

Hello,

Do you know if there is any support to delete topics with Kafka 0.8?

Since I couldn't find any, I tried to manually delete the log folders
(topic name + partition). However, if I restart the broker (we are
testing with one single broker), it automatically regenerates those
log folders again (although the actual message content is gone).

Is there any way to remove existing topics completely? (Either by some
manual deletion or by some API call)?

thanks,

Jason

Re: Delete Topic with 0.8?

Posted by Jason Huang <ja...@icare.com>.
I see.

thanks Neha.

Jason

On Fri, Feb 1, 2013 at 10:43 AM, Neha Narkhede <ne...@gmail.com> wrote:
> The JIRA tracking delete topic is here -
> https://issues.apache.org/jira/browse/KAFKA-330
>
> Until that is resolved, what you can do is shut the cluster down, delete on
> disk data as well as zookeeper data, and then restart everything.
> Understand that it is cumbersome, but until the feature is in, I can't
> think of an easier way to delete a topic
>
> Thanks,
> Neha
>
>
> On Fri, Feb 1, 2013 at 7:25 AM, Jason Huang <ja...@icare.com> wrote:
>
>> Hello,
>>
>> Do you know if there is any support to delete topics with Kafka 0.8?
>>
>> Since I couldn't find any, I tried to manually delete the log folders
>> (topic name + partition). However, if I restart the broker (we are
>> testing with one single broker), it automatically regenerates those
>> log folders again (although the actual message content is gone).
>>
>> Is there any way to remove existing topics completely? (Either by some
>> manual deletion or by some API call)?
>>
>> thanks,
>>
>> Jason
>>

Re: Delete Topic with 0.8?

Posted by Neha Narkhede <ne...@gmail.com>.
The JIRA tracking delete topic is here -
https://issues.apache.org/jira/browse/KAFKA-330

Until that is resolved, what you can do is shut the cluster down, delete on
disk data as well as zookeeper data, and then restart everything.
Understand that it is cumbersome, but until the feature is in, I can't
think of an easier way to delete a topic

Thanks,
Neha


On Fri, Feb 1, 2013 at 7:25 AM, Jason Huang <ja...@icare.com> wrote:

> Hello,
>
> Do you know if there is any support to delete topics with Kafka 0.8?
>
> Since I couldn't find any, I tried to manually delete the log folders
> (topic name + partition). However, if I restart the broker (we are
> testing with one single broker), it automatically regenerates those
> log folders again (although the actual message content is gone).
>
> Is there any way to remove existing topics completely? (Either by some
> manual deletion or by some API call)?
>
> thanks,
>
> Jason
>