Create a Java-friendly InputDStream that pulls messages from a Kinesis stream.
Create a Java-friendly InputDStream that pulls messages from a Kinesis stream. :: Experimental ::
Java StreamingContext object
Kinesis stream name
Url of Kinesis service (e.g., https://kinesis.us-east-1.amazonaws.com)
Checkpoint interval for Kinesis checkpointing. See the Kinesis Spark Streaming documentation for more details on the different types of checkpoints.
In the absence of Kinesis checkpoint info, this is the worker's initial starting position in the stream. The values are either the beginning of the stream per Kinesis' limit of 24 hours (InitialPositionInStream.TRIM_HORIZON) or the tip of the stream (InitialPositionInStream.LATEST).
Storage level to use for storing the received objects
JavaReceiverInputDStream[Array[Byte]]
Create an InputDStream that pulls messages from a Kinesis stream.
Create an InputDStream that pulls messages from a Kinesis stream. :: Experimental ::
StreamingContext object
Kinesis stream name
Url of Kinesis service (e.g., https://kinesis.us-east-1.amazonaws.com)
Checkpoint interval for Kinesis checkpointing. See the Kinesis Spark Streaming documentation for more details on the different types of checkpoints.
In the absence of Kinesis checkpoint info, this is the worker's initial starting position in the stream. The values are either the beginning of the stream per Kinesis' limit of 24 hours (InitialPositionInStream.TRIM_HORIZON) or the tip of the stream (InitialPositionInStream.LATEST).
Storage level to use for storing the received objects
ReceiverInputDStream[Array[Byte]]
Helper class to create Amazon Kinesis Input Stream :: Experimental ::