Github user yssharma commented on a diff in the pull request:
https://github.com/apache/spark/pull/18029#discussion_r120236059
--- Diff:
external/kinesis-asl/src/main/scala/org/apache/spark/streaming/kinesis/KinesisInputDStream.scala
---
@@ -100,6 +103,7 @@ object KinesisInputDStream {
private var endpointUrl: Option[String] = None
private var regionName: Option[String] = None
private var initialPositionInStream: Option[InitialPositionInStream] =
None
+ private var initialPositionInStreamTimestamp: Option[Date] = None
--- End diff --
Ah alright, so you're asking to get another
`initialPositionInStreamTimestamp`. Thats similar to the
`withInitialPositionAtTimestamp`. Can rename that to suit this purpose.
Another question, The InitialPosition gets passed to the KinesisReceiver. I
was passing a timestamp along with the Initial position at the moment. Are we
planning to pass the `KinesisClientLibConfiguration` to the `KinesisReceiver`
now ?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]