-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[admin] Add consumer group bindings for KIP-88, 222, 518, 396 (partial) #857
[admin] Add consumer group bindings for KIP-88, 222, 518, 396 (partial) #857
Conversation
af98bbe
to
742930f
Compare
742930f
to
59e4ba7
Compare
Also modifies the test for DeleteGroups to use the new bindings
State in ListConsumerGroups
299c2df
to
cd3057d
Compare
16bc999
to
48839ff
Compare
48839ff
to
52e8fc4
Compare
ee98ebe
to
2c96638
Compare
supports methods.
examples/admin_alter_consumer_group_offsets/admin_alter_consumer_group_offsets.go
Outdated
Show resolved
Hide resolved
examples/admin_list_consumer_group_offsets/admin_list_consumer_group_offsets.go
Outdated
Show resolved
Hide resolved
b3dcdad
to
5b58e8c
Compare
Addressed most changes, except a few doubts left as comment replies. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @milindl ! I'm approving this when we rebase this on the new version.
Also changes the tests so we don't end up deleting the topic specified in testconf.json.
kafka/kafka.go
Outdated
} | ||
|
||
// GroupTopicPartitions represents a consumer group's TopicPartitions. | ||
type GroupTopicPartitions struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could name it ConsumerGroupTopicPartitions to keep naming consistent with method name, as Pranav is doing in the Python PR. The Java class has the same name but it's not used by the client.
ConsumerGroupTopicPartitions, add DescribeConsumerGroupsResult
Moved to #923, using an internal branch for CI |
Currently in a draft state because of the fact that librdkafka implementation isn't fully done, and so this should not be merged.
Tested in conjunction with https://github.com/edenhill/librdkafka/tree/feature/list-and-alter-offsets (and depends on this branch).
This includes #852 (by @vsantwana) - the DeleteGroups implementation.
The rest of the bindings are - ListConsumerGroups, DescribeConsumerGroups, AlterConsumerGroupOffsets, and ListConsumerGroupOffsets.
I have some doubts about how I've implemented the options for list/describe consumer groups, so any feedback would be helpful for that