jiufeng-liu-ck commented on code in PR #37689:
URL: https://github.com/apache/beam/pull/37689#discussion_r2849983797


##########
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:
   This `task.poll()` could take much longer than `pollingTimeOut`, if we have 
a way to set timeout for `task.poll()` operation which respects the total 
`pollingTimeOut`, that would be better!



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