[
https://issues.apache.org/jira/browse/FLINK-8500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16346180#comment-16346180
]
yanxiaobin edited comment on FLINK-8500 at 1/31/18 3:01 AM:
------------------------------------------------------------
hi,[~aljoscha] , thank you for your reply!Please look at the next picture!
!image-2018-01-31-10-48-59-633.png!
The final eventtime is obtained from “{color:#000080}final long
{color}newTimestamp = extractAscendingTimestamp(element);“ , and the element
was deserialized from "KeyedDeserializationSchema" . Also the parameter
"elementPrevTimestamp" that is Kafka timestamp is not used! Thanks!
was (Author: backlight):
hi,[~aljoscha] , thank you for your reply!Please look at the next picture!
!image-2018-01-31-10-48-59-633.png!
The final eventtime is obtained from “{color:#000080}final long
{color}newTimestamp = extractAscendingTimestamp(element);“ , and the element
was deserialized from "KeyedDeserializationSchema" . Also the parameter
"elementPrevTimestamp" is not used! Thanks!
> Get the timestamp of the Kafka message from kafka consumer(Kafka010Fetcher)
> ---------------------------------------------------------------------------
>
> Key: FLINK-8500
> URL: https://issues.apache.org/jira/browse/FLINK-8500
> Project: Flink
> Issue Type: Improvement
> Components: Kafka Connector
> Affects Versions: 1.4.0
> Reporter: yanxiaobin
> Priority: Major
> Attachments: image-2018-01-30-14-58-58-167.png,
> image-2018-01-31-10-48-59-633.png
>
>
> The method deserialize of KeyedDeserializationSchema needs a parameter
> 'kafka message timestamp' (from ConsumerRecord) .In some business scenarios,
> this is useful!
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)