Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The `kafka-feature.sh` command-line tool currently has two issues that impact usability and consistency:

KAFKA-19749

The `--bootstrap-server` /` --bootstrap-controller` arguments are defined as a globally required group. This incorrectly prevents offline subcommands like `version-mapping` and `feature-dependencies` from running without providing unnecessary connection arguments. This behavior is inconsistent with other tools, such as `kafka-storage.sh`, which allows its `version-mapping` command to run without cluster connection arguments.

KAFKA-19544

A recent change introduced a backend flag (`unstableFeatureVersionsEnabled`) to `MetadataVersion.fromVersionString()` to control the inclusion of unstable metadata versions. This capability is not exposed to the user in the `version-mapping` command, making it impossible for users to control the query of the feature mapping for unstable versions.

...