[ 
https://issues.apache.org/jira/browse/KAFKA-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13511570#comment-13511570
 ] 

Jun Rao commented on KAFKA-330:
-------------------------------

The delete topic logic can follow the same logic in partition reassignment.
1. Create a ZK path to indicate that we want to delete a topic.
2. The controller registers a listener to the deleteTopic path and when the 
watcher is triggered:
2.1 Send stopReplica requests to each relevant broker.
2.2 Each broker then delete the local log directory.
2.3 Once the stopReplica request completes, the controller deletes the 
deleteTopic path and the delete topic command completes.
                
> Add delete topic support 
> -------------------------
>
>                 Key: KAFKA-330
>                 URL: https://issues.apache.org/jira/browse/KAFKA-330
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Neha Narkhede
>              Labels: features
>
> One proposal of this API is here - 
> https://cwiki.apache.org/confluence/display/KAFKA/Kafka+replication+detailed+design+V2#KafkareplicationdetaileddesignV2-Deletetopic

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to