Skip to content

Commit

Permalink
Fix #82
Browse files Browse the repository at this point in the history
  • Loading branch information
blootsvoets committed Sep 8, 2021
1 parent 99bfb07 commit 746d18d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ protected Stream<TopicData> processRecords(
})
.collect(Collectors.toList());

if (allRecords.isEmpty()) {
return Stream.empty();
}

// The final group gets the actual offset, to ensure that the group does not get queried
// again.
allRecords.get(allRecords.size() - 1).sourceOffset = startTime;
Expand Down

0 comments on commit 746d18d

Please sign in to comment.