You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/08 00:57:11 UTC

[jira] [Commented] (FLINK-4019) Expose approximateArrivalTimestamp through the KinesisDeserializationSchema interface

    [ https://issues.apache.org/jira/browse/FLINK-4019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15367031#comment-15367031 ] 

ASF GitHub Bot commented on FLINK-4019:
---------------------------------------

GitHub user tzulitai opened a pull request:

    https://github.com/apache/flink/pull/2214

    [FLINK-4019][kinesis-connector] Use Kinesis records' approximateArrivalTimestamp

    This Kinesis-provided timestamp is used in the following:
    1) Exposed through the KinesisDeserializationSchema for users to obtain
    2) Attached to records as the default event time timestamp

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tzulitai/flink FLINK-4019

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/2214.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2214
    
----
commit c71666f53dd666d11f85b0303b586cbb38175963
Author: Gordon Tai <tz...@gmail.com>
Date:   2016-07-08T00:46:31Z

    [FLINK-4019][kinesis-connector] Use Kinesis records' approximateArrivalTimestamp
    
    Used in the following:
    1) Exposed through the KinesisDeserializationSchema for users to obtain
    2) Attatched to records as the default event time

----


> Expose approximateArrivalTimestamp through the KinesisDeserializationSchema interface
> -------------------------------------------------------------------------------------
>
>                 Key: FLINK-4019
>                 URL: https://issues.apache.org/jira/browse/FLINK-4019
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Streaming Connectors
>    Affects Versions: 1.1.0
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Tzu-Li (Gordon) Tai
>             Fix For: 1.1.0
>
>
> Amazon's Record class also gives information about the timestamp of when Kinesis successfully receives the record: http://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/kinesis/model/Record.html#getApproximateArrivalTimestamp().
> This should be useful info for users and should be exposed through the deserialization schema.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)