kowshik opened a new pull request #9409: URL: https://github.com/apache/kafka/pull/9409
Implement basic CLI tool for feature versioning system, providing the following: - `--describe`: - Describe supported and finalized features. - Usage: `./bin/kafka-run-class.sh kafka.admin.FeatureCommand --describe [--from-controller]` - 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-run-class.sh kafka.admin.FeatureCommand --upgrade-all [--dry-run]` - 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-run-class.sh kafka.admin.FeatureCommand --upgrade-all [--dry-run]`. - Optionally, use the `--dry-run` CLI option to preview the feature updates without actually applying them. **Tests:** Added a new `FeatureCommand` integration test suite to test the CLI tool. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org