Skip to content

Commit

Permalink
kgo handleListGroups: copy Version and ThrottleMillis in merging
Browse files Browse the repository at this point in the history
  • Loading branch information
twmb committed Aug 24, 2020
1 parent ff1dc46 commit 4eb5940
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/kgo/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,8 @@ func (cl *Client) handleListGroupsReq(ctx context.Context, req *kmsg.ListGroupsR
if mergeResp.ErrorCode == 0 {
mergeResp.ErrorCode = resp.ErrorCode
}
mergeResp.Version = resp.Version
mergeResp.ThrottleMillis = resp.ThrottleMillis
mergeResp.Groups = append(mergeResp.Groups, resp.Groups...)
}

Expand Down

0 comments on commit 4eb5940

Please sign in to comment.