You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Cheng Tan (Jira)" <ji...@apache.org> on 2020/04/13 22:35:00 UTC

[jira] [Created] (KAFKA-9862) Enable --if-exists and --if-not-exists for AdminClient in TopicCommand

Cheng Tan created KAFKA-9862:
--------------------------------

             Summary: Enable --if-exists and --if-not-exists for AdminClient in TopicCommand
                 Key: KAFKA-9862
                 URL: https://issues.apache.org/jira/browse/KAFKA-9862
             Project: Kafka
          Issue Type: New Feature
            Reporter: Cheng Tan
            Assignee: Cheng Tan


In *kafka-topic.sh*, we expect to use --if-exists to ensure that the topic to create or change exists. Similarly, we expect to use --if-not-exists to ensure that the topic to create or change does not exist. Currently, only *ZookeeperTopicService* supports these two options and we want to introduce them to *AdminClientTopicService.*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)