You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yash Sharma (JIRA)" <ji...@apache.org> on 2018/06/12 17:41:00 UTC

[jira] [Reopened] (SPARK-20168) Enable kinesis to start stream from Initial position specified by a timestamp

     [ https://issues.apache.org/jira/browse/SPARK-20168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yash Sharma reopened SPARK-20168:
---------------------------------

The last patch in the kinesis streaming receiver sets the timestamp for the mode AT_TIMESTAMP, but this mode can only be set via the

{{baseClientLibConfiguration.withTimestampAtInitialPositionInStream()}}
and can't be set directly using
{{.withInitialPositionInStream()}}

This patch fixes the issue.

> Enable kinesis to start stream from Initial position specified by a timestamp
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-20168
>                 URL: https://issues.apache.org/jira/browse/SPARK-20168
>             Project: Spark
>          Issue Type: Improvement
>          Components: DStreams
>    Affects Versions: 2.1.0
>            Reporter: Yash Sharma
>            Assignee: Yash Sharma
>            Priority: Major
>              Labels: kinesis, streaming
>             Fix For: 2.3.0
>
>
> Kinesis client can resume from a specified timestamp while creating a stream. We should have option to pass a timestamp in config to allow kinesis to resume from the given timestamp.
> Have started initial work and will be posting a PR after I test the patch -
> https://github.com/yssharma/spark/commit/11269abf8b2a533a1b10ceee80ac2c3a2a80c4e8



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org