Skip to content

Commit

Permalink
Clearing maxPendingOffsets map in BatchConsumer
Browse files Browse the repository at this point in the history
  • Loading branch information
szczygiel-m committed Oct 4, 2024
1 parent 37656e2 commit b52606a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ private void commitIfReady() {
if (!offsetsToCommit.isEmpty()) {
commit(offsetsToCommit);
}
maxPendingOffsets.clear();
lastCommitTime = Instant.now();
}
}
Expand Down

0 comments on commit b52606a

Please sign in to comment.