Class KinesisUtilsPythonHelper
Object
org.apache.spark.streaming.kinesis.KinesisUtilsPythonHelper
This is a helper class that wraps the methods in KinesisUtils into more Python-friendly class and
function so that it can be easily instantiated and called from Python's KinesisUtils.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionJavaReceiverInputDStream<byte[]>
createStream
(JavaStreamingContext jssc, String kinesisAppName, String streamName, String endpointUrl, String regionName, int initialPositionInStream, Duration checkpointInterval, int metricsLevel, StorageLevel storageLevel, String awsAccessKeyId, String awsSecretKey, String stsAssumeRoleArn, String stsSessionName, String stsExternalId)
-
Constructor Details
-
KinesisUtilsPythonHelper
public KinesisUtilsPythonHelper()
-
-
Method Details
-
createStream
public JavaReceiverInputDStream<byte[]> createStream(JavaStreamingContext jssc, String kinesisAppName, String streamName, String endpointUrl, String regionName, int initialPositionInStream, Duration checkpointInterval, int metricsLevel, StorageLevel storageLevel, String awsAccessKeyId, String awsSecretKey, String stsAssumeRoleArn, String stsSessionName, String stsExternalId)
-