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

ASF GitHub Bot commented on KAFKA-3084:
---------------------------------------

GitHub user granthenke opened a pull request:

    https://github.com/apache/kafka/pull/744

    KAFKA-3084: Topic existence checks in topic commands (create, alter, …

    …delete)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/granthenke/kafka exists-checks

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/744.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #744
    
----
commit d85b01e84cf3c5aadd0eaeba696e309873ab5bb7
Author: Grant Henke <granthe...@gmail.com>
Date:   2016-01-08T20:21:12Z

    KAFKA-3084: Topic existence checks in topic commands (create, alter, delete)

----


> Topic existence checks in topic commands (create, alter, delete)
> ----------------------------------------------------------------
>
>                 Key: KAFKA-3084
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3084
>             Project: Kafka
>          Issue Type: Improvement
>            Reporter: Grant Henke
>            Assignee: Grant Henke
>
> In Kafka 0.9.0 error codes were added to the topic commands. However, often 
> users only want to perform an action based on the existence of a topic. And 
> they don't want to error if the topic does or does not exist.
> Adding if-exists option for the topic delete and alter commands and 
> if-not-exists for the create command allows users to build scripts that can 
> handle this expected state without error codes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to