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


##########
seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaRecordEmitter.java:
##########
@@ -58,6 +60,8 @@ public void emitRecord(
             KafkaSourceSplitState splitState)
             throws Exception {
         outputCollector.output = collector;
+        // Propagate Kafka record timestamp as metadata EventTime so 
downstream can materialize it
+        outputCollector.setCurrentRecordTimestamp(consumerRecord.timestamp());

Review Comment:
   why not do it in `DeserializationSchema` ?



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