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

Felix GV commented on KAFKA-1694:
---------------------------------

[~ijuma],

Because delete topic is asynchronous, it is useful to have a way of knowing 
when the deletion process is completed properly. Currently, we do an extensive 
series of checks to verify this, but a lightweight approach would be 
preferable. Obviously, calling createTopics is not an appropriate way of 
checking if delete topic finished. This particular issue could be side-stepped 
by providing a first-class synchronous topic deletion API, but at the end of 
the day, it's probably useful to have a proper topic existence API regardless. 
The challenge, I suppose, is that this is not a binary state, but rather a 
gradient. The valid responses might be something along the lines of:

# EXISTS
# DOES_NOT_EXIST
# CREATION_IN_PROGRESS
# DELETION_IN_PROGRESS.

-F

> KIP-4: Command line and centralized operations
> ----------------------------------------------
>
>                 Key: KAFKA-1694
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1694
>             Project: Kafka
>          Issue Type: New Feature
>            Reporter: Joe Stein
>            Assignee: Grant Henke
>            Priority: Critical
>         Attachments: KAFKA-1694.patch, KAFKA-1694_2014-12-24_21:21:51.patch, 
> KAFKA-1694_2015-01-12_15:28:41.patch, KAFKA-1694_2015-01-12_18:54:48.patch, 
> KAFKA-1694_2015-01-13_19:30:11.patch, KAFKA-1694_2015-01-14_15:42:12.patch, 
> KAFKA-1694_2015-01-14_18:07:39.patch, KAFKA-1694_2015-03-12_13:04:37.patch, 
> KAFKA-1772_1802_1775_1774_v2.patch
>
>
> https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Command+Line+and+Related+Improvements



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to