mirror of https://github.com/apache/kafka.git
This PR implements a basic CLI tool for feature versioning system. The KIP-584 write up has been updated to suit this PR. The following is implemented in this PR: --describe: Describe supported and finalized features. Usage: $> ./bin/kafka-features.sh --bootstrap-server host1:port1, host2:port2 --describe [--from-controller] [--command-config <path_to_java_properties_file>] Optionally, use the --from-controller option to get features from the controller. --upgrade-all: Upgrades all features known to the tool to their highest max version levels. Usage: $> ./bin/kafka-features.sh --bootstrap-server host1:port1, host2:port2 --upgrade-all [--dry-run] [--command-config <path_to_java_properties_file>] Optionally, use the --dry-run CLI option to preview the feature updates without actually applying them. --downgrade-all: Downgrades existing finalized features to the highest max version levels known to this tool. Usage: $> ./bin/kafka-features.sh --bootstrap-server host1:port1, host2:port2 --downgrade-all [--dry-run] [--command-config <path_to_java_properties_file>]. Optionally, use the --dry-run CLI option to preview the feature updates without actually applying them. Reviewers: Boyang Chen <boyang@confluent.io>, Jun Rao <junrao@gmail.com> |
||
|---|---|---|
| .. | ||
| windows | ||
| connect-distributed.sh | ||
| connect-mirror-maker.sh | ||
| connect-standalone.sh | ||
| kafka-acls.sh | ||
| kafka-broker-api-versions.sh | ||
| kafka-configs.sh | ||
| kafka-console-consumer.sh | ||
| kafka-console-producer.sh | ||
| kafka-consumer-groups.sh | ||
| kafka-consumer-perf-test.sh | ||
| kafka-delegation-tokens.sh | ||
| kafka-delete-records.sh | ||
| kafka-dump-log.sh | ||
| kafka-features.sh | ||
| kafka-leader-election.sh | ||
| kafka-log-dirs.sh | ||
| kafka-mirror-maker.sh | ||
| kafka-preferred-replica-election.sh | ||
| kafka-producer-perf-test.sh | ||
| kafka-reassign-partitions.sh | ||
| kafka-replica-verification.sh | ||
| kafka-run-class.sh | ||
| kafka-server-start.sh | ||
| kafka-server-stop.sh | ||
| kafka-streams-application-reset.sh | ||
| kafka-topics.sh | ||
| kafka-verifiable-consumer.sh | ||
| kafka-verifiable-producer.sh | ||
| trogdor.sh | ||
| zookeeper-security-migration.sh | ||
| zookeeper-server-start.sh | ||
| zookeeper-server-stop.sh | ||
| zookeeper-shell.sh | ||