You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2022/02/05 07:59:11 UTC
[GitHub] [kafka] runom opened a new pull request #11735: MINOR: Check the help and version options firstly
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org