Description
The kafka-get-offsets script was moved to Java for the 3.7.0 release. It now inherits the CommandDefaultOptions, including "--help" and "–version". However, it does not process these arguments like other commands, and instead prints the following error:
./bin/kafka-get-offsets.sh --version Missing required argument "[broker-list]" ... --help Print usage information. ... --version Display Kafka version.
It should follow the behavior of other commands, which is to print the help/version without complaining about missing arguments. It should call CommandLineUtils.maybePrintHelpOrVersion somewhere during argument parsing.
Attachments
Issue Links
- is caused by
-
KAFKA-14581 Move GetOffsetShell to tools
- Resolved
- links to