PoAn Yang created KAFKA-18059:
---------------------------------
Summary: kafka-metadata-quorum.sh add-controller subcommand can't
recognize argument --config
Key: KAFKA-18059
URL: https://issues.apache.org/jira/browse/KAFKA-18059
Project: Kafka
Issue Type: Improvement
Reporter: PoAn Yang
Assignee: PoAn Yang
In
[KIP-853|https://cwiki.apache.org/confluence/display/KAFKA/KIP-853%3A+KRaft+Controller+Membership+Changes],
it uses following command as adding controller example.
{noformat}
kafka-metadata-quorum --bootstrap-server <endpoints> add-controller --config
controller.properties
{noformat}
However, it returns "kafka-metadata-quorum: error: unrecognized arguments:
'--config'". In MetadataQuorumCommand, the "--command-config" description is
"Property file containing configs to be passed to Admin Client.". It's *not*
controller property file. We should either update description of the
"--command-config", or update the MetadataQuorumCommand to align with KIP.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)