runom opened a new pull request #11735:
URL: https://github.com/apache/kafka/pull/11735
Currently, `bin/kafka-consumer-groups.sh --version` reqiures unnecessary
`bootstrap-server` option.
```
% bin/kafka-consumer-groups.sh --version
Missing required argument "[bootstrap-server]"
Option Description
------ -----------
--all-groups Apply to all consumer groups.
--all-topics Consider all topics assigned to a
group in the `reset-offsets`
process.
...
--version Display Kafka version.
```
```
% bin/kafka-consumer-groups.sh --version --bootstrap-server=localhost:9092
3.2.0-SNAPSHOT (Commit:21c3009ac12f79d0)
```
This PR fixes this problem.
```
% bin/kafka-consumer-groups.sh --version
3.2.0-SNAPSHOT (Commit:efe4bfd2c49997f7)
```
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]