Skip to content

Commit

Permalink
add missing group metadata to commit offsets call
Browse files Browse the repository at this point in the history
  • Loading branch information
imle committed Jan 23, 2025
1 parent f30c518 commit 049514f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kadm/groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,6 +755,7 @@ func (os OffsetResponses) Ok() bool {
func (cl *Client) CommitOffsets(ctx context.Context, group string, os Offsets) (OffsetResponses, error) {
req := kmsg.NewPtrOffsetCommitRequest()
req.Group = group
req.MemberID, req.Generation = cl.cl.GroupMetadata()
for t, ps := range os {
rt := kmsg.NewOffsetCommitRequestTopic()
rt.Topic = t
Expand Down

0 comments on commit 049514f

Please sign in to comment.