Re: Delete topic pending

2015-05-18 Thread Sriharsha Chintalapani
May be thats a bug. We should probably alert the user saying the topic doesn’t 
exist rather than go and add it to the zookeeper for deletion trigger. Also to 
delete any topic you need to set “delete.topic.enable” to true

-- 
Harsha


On May 18, 2015 at 10:16:46 AM, Dillian Murphey (crackshotm...@gmail.com) wrote:

If a broker doesn't have the topic, and I run delete topic, that topic will  
be in a pending delete state forever.  

What am I doing wrong here?  

Also, what if I have data loss and I just want to delete the dang topic  
form zookeeper directly with non of this pending stuff.  

Thanks  


Re: Delete topic pending

2015-05-18 Thread Jiangjie Qin
Hmm, which Kafka version are you running? From the code it looks we should
have already ignored the deletion of a topic if it does not exist.

Jiangjie (Becket) Qin

On 5/18/15, 10:15 AM, Dillian Murphey crackshotm...@gmail.com wrote:

If a broker doesn't have the topic, and I run delete topic, that topic
will
be in a pending delete state forever.

What am I doing wrong here?

Also, what if I have data loss and I just want to delete the dang topic
form zookeeper directly with non of this pending stuff.

Thanks