mirror of https://github.com/apache/kafka.git
KAFKA-19488: Update the docs of "if-not-exists" (#20133)
"the action will only execute" is incorrect, as the admin still sends the request. The "if-not-exists" flag is actually used to swallow the exception Reviewers: TengYao Chi <frankvicky@apache.org>, Nick Guo <lansg0504@gmail.com>, Ken Huang <s7133700@gmail.com>
This commit is contained in:
parent
c625b44d8c
commit
2f6ea81d0a
|
@ -810,7 +810,7 @@ public abstract class TopicCommand {
|
|||
ifExistsOpt = parser.accepts("if-exists",
|
||||
"If set when altering or deleting or describing topics, the action will only execute if the topic exists.");
|
||||
ifNotExistsOpt = parser.accepts("if-not-exists",
|
||||
"If set when creating topics, the action will only execute if the topic does not already exist.");
|
||||
"If set when creating topics, the create request will not fail if the topic already exists, but the request will still be sent.");
|
||||
excludeInternalTopicOpt = parser.accepts("exclude-internal",
|
||||
"Exclude internal topics when listing or describing topics. By default, the internal topics are included.");
|
||||
partitionSizeLimitPerResponseOpt = parser.accepts("partition-size-limit-per-response",
|
||||
|
|
Loading…
Reference in New Issue