Interface SparkStructuredStreamingPipelineOptions
- All Superinterfaces:
ApplicationNameOptions,FileStagingOptions,HasDisplayData,PipelineOptions,SparkCommonPipelineOptions,StreamingOptions
Spark runner
PipelineOptions handles Spark execution-related configurations, such as the
master address, and other user-related knobs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.beam.sdk.options.PipelineOptions
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.UserAgentFactoryNested classes/interfaces inherited from interface org.apache.beam.runners.spark.SparkCommonPipelineOptions
SparkCommonPipelineOptions.StorageLevelFactory, SparkCommonPipelineOptions.TmpCheckpointDirFactory -
Field Summary
Fields inherited from interface org.apache.beam.runners.spark.SparkCommonPipelineOptions
DEFAULT_MASTER_URL -
Method Summary
Modifier and TypeMethodDescriptionlonglongintbooleanSet to true to run the job in test mode.booleanlongvoidsetMaxBatchDurationMillis(long value) voidsetMaxRecordsPerBatch(Long maxRecordsPerBatch) voidsetReaderIdleTimeoutMillis(long value) voidsetStreamingStopAfterIdleBatches(int value) voidsetTestMode(boolean testMode) voidsetUseActiveSparkSession(boolean value) voidsetWatermarkDelayMillis(long value) Methods inherited from interface org.apache.beam.sdk.options.ApplicationNameOptions
getAppName, setAppNameMethods inherited from interface org.apache.beam.sdk.options.FileStagingOptions
getFilesToStage, setFilesToStageMethods inherited from interface org.apache.beam.sdk.transforms.display.HasDisplayData
populateDisplayDataMethods inherited from interface org.apache.beam.sdk.options.PipelineOptions
as, getGbek, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setGbek, setJobName, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgentMethods inherited from interface org.apache.beam.runners.spark.SparkCommonPipelineOptions
getCheckpointDir, getEnableSparkMetricSinks, getPreferGroupByKeyToHandleHugeValues, getSparkMaster, getStorageLevel, setCheckpointDir, setEnableSparkMetricSinks, setPreferGroupByKeyToHandleHugeValues, setSparkMaster, setStorageLevelMethods inherited from interface org.apache.beam.sdk.options.StreamingOptions
getUpdateCompatibilityVersion, isStreaming, setStreaming, setUpdateCompatibilityVersion
-
Method Details
-
getTestMode
Set to true to run the job in test mode. -
setTestMode
void setTestMode(boolean testMode) -
getUseActiveSparkSession
-
setUseActiveSparkSession
void setUseActiveSparkSession(boolean value) -
getWatermarkDelayMillis
-
setWatermarkDelayMillis
void setWatermarkDelayMillis(long value) -
getMaxRecordsPerBatch
-
setMaxRecordsPerBatch
-
getMaxBatchDurationMillis
-
setMaxBatchDurationMillis
void setMaxBatchDurationMillis(long value) -
getReaderIdleTimeoutMillis
-
setReaderIdleTimeoutMillis
void setReaderIdleTimeoutMillis(long value) -
getStreamingStopAfterIdleBatches
-
setStreamingStopAfterIdleBatches
void setStreamingStopAfterIdleBatches(int value)
-