Class SparkRunnerStreamingContextFactory
- java.lang.Object
-
- org.apache.beam.runners.spark.translation.streaming.SparkRunnerStreamingContextFactory
-
- All Implemented Interfaces:
java.io.Serializable,org.apache.spark.api.java.function.Function0<org.apache.spark.streaming.api.java.JavaStreamingContext>
public class SparkRunnerStreamingContextFactory extends java.lang.Object implements org.apache.spark.api.java.function.Function0<org.apache.spark.streaming.api.java.JavaStreamingContext>AJavaStreamingContextfactory for resilience.- See Also:
- how-to-configure-checkpointing, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SparkRunnerStreamingContextFactory(org.apache.beam.sdk.Pipeline pipeline, SparkPipelineOptions options, Checkpoint.CheckpointDir checkpointDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.spark.streaming.api.java.JavaStreamingContextcall()
-
-
-
Constructor Detail
-
SparkRunnerStreamingContextFactory
public SparkRunnerStreamingContextFactory(org.apache.beam.sdk.Pipeline pipeline, SparkPipelineOptions options, Checkpoint.CheckpointDir checkpointDir)
-
-