kafka
kafka copied to clipboard
KAFKA-17277: [2/2] Add feature dependency command to the storage and the feature command tool
This patch belongs to the ongoing efforts of implementing KIP-1022.
Added feature-dependencies command to look up dependencies for a given feature version supplied by --feature flag. If the feature is not known or the version not yet defined, we throw an error.
Examples : bin/kafka-feature feature-dependencies --feature transaction.version=2 transaction.version=2 requires: metadata.version=4 (3.3-IV0) (listing any other version dependencies)
bin/kafka-feature feature-dependencies --feature metadata.version=17 metadata.version=17 (3.7-IV2) has no dependencies
This PR needs to be rebased on the https://github.com/apache/kafka/pull/16973 for adding the version mapping command.