forked from apache/kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KAFKA-12598: ConfigCommand should only support communication via ZooK…
…eeper for a reduced set of cases (apache#10811) Checked the documentation, we must use `--zookeeper` option in 3 places (alter and describe): 1. user configs where the config is a SCRAM mechanism name (i.e. a SCRAM credential for a user) 2. update broker configs for a particular broker when that broker is down 3. broker default configs when all brokers are down Reference: 1. [config SCRAM Credentials](https://kafka.apache.org/documentation/#security_sasl_scram_credentials) 2. [Update config before broker started](https://kafka.apache.org/documentation/#dynamicbrokerconfigs) So, after this PR, we only support `--zookeeper` on `users` and `brokers` entity. Add some argument parse rules and tests. Reviewers: Ron Dagostino <[email protected]>, Ismael Juma <[email protected]>
- Loading branch information
Showing
3 changed files
with
227 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.