You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "sasakitoa (via GitHub)" <gi...@apache.org> on 2024/08/22 09:23:03 UTC
[PR] MINOR: Fix an incorrect message in kafka-consumer-groups.sh when missing necessary options [kafka]
sasakitoa opened a new pull request, #16961:
URL: https://github.com/apache/kafka/pull/16961
`kafka-consumer-groups.sh` shows wrong suggestion when specified `--describe` without `--group` or `--all-group`.
This PR fixes this incorrect message.
Current:
```
$ kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe
Option [describe] takes one of these options: [reset-offsets], [describe], [delete], [list]
...
```
Expect:
```
$ kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe
Option [describe] takes one of these options: [all-groups], [group]
...
```
This PR is related to #15823
### 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
Re: [PR] MINOR: Fix an incorrect message in kafka-consumer-groups.sh when missing necessary options [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 merged PR #16961:
URL: https://github.com/apache/kafka/pull/16961
--
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
Re: [PR] MINOR: Fix an incorrect message in kafka-consumer-groups.sh when missing necessary options [kafka]
Posted by "sasakitoa (via GitHub)" <gi...@apache.org>.
sasakitoa commented on PR #16961:
URL: https://github.com/apache/kafka/pull/16961#issuecomment-2304610266
I found another error for `—delete-offsets` option, fixed PR.
Current:
```
$ kafka-consumer-groups.sh --bootstrap-server localhost:9092 --delete-offsets
Option [delete-offsets] takes the following options: [all-groups], [group]
...
```
Expect:
```
$ kafka-consumer-groups.sh --bootstrap-server localhost:9092 --delete-offsets
Option [delete-offsets] takes the following options: [topic], [group]
...
```
--
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