[ https://issues.apache.org/jira/browse/KAFKA-9862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083525#comment-17083525 ]
Cheng Tan commented on KAFKA-9862: ---------------------------------- Thanks. I put critical because it blocks the --zookeeper flag removal. Some system tests are testing this functionality with Zookeeper. Just changed. > 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 > Priority: Critical > > 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)