Skip to content

Commit

Permalink
when CommitRecords commit next offset to move forward
Browse files Browse the repository at this point in the history
Signed-off-by: Vasiliy Tolstov <[email protected]>
  • Loading branch information
vtolstov committed Aug 22, 2021
1 parent 4c20135 commit 733848b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kgo/consumer_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ func (cl *Client) CommitRecords(ctx context.Context, rs ...*Record) error {
}
toffsets[r.Partition] = EpochOffset{
r.LeaderEpoch,
r.Offset,
r.Offset + 1, // need to advice to next offset to move forward
}
}

Expand Down

0 comments on commit 733848b

Please sign in to comment.