GitHub user vahidhashemian reopened a pull request:
https://github.com/apache/kafka/pull/1336
KAFKA-3144: Report members with no assigned partitions in
ConsumerGroupCommand
This PR makes a couple of enhancements to the `--describe` option of
`ConsumerGroupCommand`:
1. Listing members with no assigned partitions.
2. Showing the member id along with the owner of each partition (owner is
supposed to be the logical application id and all members in the same group are
supposed to set the same owner).
3. Reporting broker id of the group coordinator when `--new-consumer` is
used.
4. Printing a warning indicating whether ZooKeeper based or new consumer
API based information is being reported.
It also adds unit tests to verify the added functionality.
Note: The third request on the corresponding JIRA (listing active offsets
for empty groups of new consumers) is not implemented as part of this PR, and
has been moved to its own JIRA (KAFKA-3853).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vahidhashemian/kafka KAFKA-3144
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1336.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1336
----
commit 5e3550a238fd735081eb88ec564a726c8009f017
Author: Vahid Hashemian <[email protected]>
Date: 2016-09-07T23:06:00Z
This PR makes a few enhancements to the --describe option of
ConsumerGroupCommand:
1. Listing members with no assigned partitions.
2. Showing the member id along with the owner of each partition (owner is
supposed to be the logical application id and all members in the same group are
supposed to set the same owner).
3. Reporting broker id of the group coordinator when --new-consumer is used.
4. Printing a warning indicating whether ZooKeeper based or new consumer
API based information is being reported.
It also adds unit tests to verify the added functionality.
Note: The third request on the corresponding JIRA (listing active offsets
for empty groups of new consumers) is not implemented as part of this PR, and
has been moved to its own JIRA (KAFKA-3853).
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---