Skip to content

Commit

Permalink
Merge pull request #65 from unistack-org/master
Browse files Browse the repository at this point in the history
when CommitRecords commit next offset to move forward
  • Loading branch information
twmb authored Aug 22, 2021
2 parents 4c20135 + 733848b commit 841c44d
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 841c44d

Please sign in to comment.