hachikuji commented on pull request #10814:
URL: https://github.com/apache/kafka/pull/10814#issuecomment-861883437
@abbccdda Thanks for reviewing. I pushed an update and responded to a few
comments. I think I remember why I wanted to upgrade argparse4j. Using 0.7.1,
the --help argument displays the following:
```
This tool is used to analyze the transactional state of producers in the
cluster. It can be used to
detect and recover from hanging transactions.
optional arguments:
-h, --help show this help message and exit
-v, --version show the version of this Kafka distribution and exit
--command-config FILE property file containing configs to be passed to
admin client
--bootstrap-server host:port
hostname and port for the broker to connect to,
in the form `host:port`
(multiple comma-separated entries can be given)
commands:
COMMAND
list list transactions
describe describe the state of an active transactional-id
describe-producers describe the states of active producers for a topic
partition
abort abort a hanging transaction (requires
administrative privileges)
```
Note that --bootstrap-servers is listed as an optional argument event though
it is actually required. In 0.8.1, the help output calls these "named
arguments" instead which is less likely to confuse. Anyway, we can still do
this upgrade separately since it is a minor issue.
--
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:
[email protected]