sfc-gh-lkucharski commented on code in PR #10881:
URL: https://github.com/apache/nifi/pull/10881#discussion_r2813862352


##########
nifi-extension-bundles/nifi-aws-bundle/nifi-aws-kinesis/src/main/java/org/apache/nifi/processors/aws/kinesis/MemoryBoundRecordBuffer.java:
##########
@@ -504,17 +503,13 @@ ConsumeRecordsResult consumeRecords() {
             }
 
             final List<KinesisClientRecord> recordsToConsume = new 
ArrayList<>();
+            Long lastMillisBehindLatest = null;
             for (final RecordBatch batch : inProgressBatches) {
                 recordsToConsume.addAll(batch.records());
+                lastMillisBehindLatest = batch.millisBehindLatest;

Review Comment:
   Done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to