[
https://issues.apache.org/jira/browse/FLINK-24488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17428283#comment-17428283
]
Fabian Paul commented on FLINK-24488:
-------------------------------------
[~xmarker] yes you are right. We need to always use a constructor with a
timestamp and set it. AFAIK the constructor fields of the ProducerRecord are
all nullable. I assign you the ticket and I can help to review it.
> KafkaRecordSerializationSchemaBuilder does not forward timestamp
> ----------------------------------------------------------------
>
> Key: FLINK-24488
> URL: https://issues.apache.org/jira/browse/FLINK-24488
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Kafka
> Affects Versions: 1.14.0, 1.15.0
> Reporter: Fabian Paul
> Priority: Major
>
> When building a KafkaRecordSerializationSchema with its builder the extracted
> event time timestamp is currently not set at the resulting ProducerRecord.
> https://github.com/apache/flink/blob/026675a5cb8a3704c51802fb549d6b0bc4759835/flink-connectors/flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/sink/KafkaRecordSerializationSchemaBuilder.java#L328
--
This message was sent by Atlassian Jira
(v8.3.4#803005)