Abacn commented on code in PR #37689:
URL: https://github.com/apache/beam/pull/37689#discussion_r2855627828


##########
sdks/java/io/debezium/src/main/java/org/apache/beam/io/debezium/KafkaSourceConsumerFn.java:
##########
@@ -271,8 +273,15 @@ public ProcessContinuation process(
           Instant recordInstant = debeziumRecordInstant(record);
           receiver.outputWithTimestamp(json, recordInstant);
         }
+        pollTimer.reset().start();
         task.commit();
         records = task.poll();

Review Comment:
   Good catch. Refactored to include first poll in stopWatch for now.



-- 
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