KAFKA-18059 kafka-metadata-quorum.sh add-controller subcommand can't recognize argument --config (#17907)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
PoAn Yang 2024-11-22 23:20:23 +08:00 committed by GitHub
parent 7db4d53f18
commit eb641b5b1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,8 @@ public class MetadataQuorumCommand {
.help("A comma-separated list of host:port pairs to use for establishing the connection to the Kafka controllers.");
parser.addArgument("--command-config")
.type(Arguments.fileType())
.help("Property file containing configs to be passed to Admin Client.");
.help("Property file containing configs to be passed to Admin Client. " +
"For add-controller, the file is used to specify the controller properties as well.");
Subparsers subparsers = parser.addSubparsers().dest("command");
addDescribeSubParser(subparsers);
addAddControllerSubParser(subparsers);