Hisoka-X commented on code in PR #9052:
URL: https://github.com/apache/seatunnel/pull/9052#discussion_r2030518723


##########
seatunnel-connectors-v2/connector-cdc/connector-cdc-base/src/main/java/org/apache/seatunnel/connectors/cdc/base/source/reader/IncrementalSourceRecordEmitter.java:
##########
@@ -98,9 +98,11 @@ public void emitRecord(
         final Iterator<SourceRecord> elementIterator = 
sourceRecords.iterator();
         while (elementIterator.hasNext()) {
             SourceRecord next = elementIterator.next();
-            reportMetrics(next);
-            processElement(next, collector, splitState);
-            markEnterPureIncrementPhase(next, splitState);
+            if (next.value() != null) {
+                reportMetrics(next);
+                processElement(next, collector, splitState);
+                markEnterPureIncrementPhase(next, splitState);
+            }

Review Comment:
   Does this change necessary? cc @hailin0 



-- 
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: commits-unsubscr...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to