Interface SparkStructuredStreamingPipelineOptions

All Superinterfaces:
ApplicationNameOptions, FileStagingOptions, HasDisplayData, PipelineOptions, SparkCommonPipelineOptions, StreamingOptions

public interface SparkStructuredStreamingPipelineOptions extends SparkCommonPipelineOptions
Spark runner PipelineOptions handles Spark execution-related configurations, such as the master address, and other user-related knobs.
  • Method Details

    • getTestMode

      @Boolean(false) boolean getTestMode()
      Set to true to run the job in test mode.
    • setTestMode

      void setTestMode(boolean testMode)
    • getUseActiveSparkSession

      @Boolean(false) boolean getUseActiveSparkSession()
    • setUseActiveSparkSession

      void setUseActiveSparkSession(boolean value)
    • getWatermarkDelayMillis

      @Long(0L) long getWatermarkDelayMillis()
    • setWatermarkDelayMillis

      void setWatermarkDelayMillis(long value)
    • getMaxRecordsPerBatch

      @Long(-1L) Long getMaxRecordsPerBatch()
    • setMaxRecordsPerBatch

      void setMaxRecordsPerBatch(Long maxRecordsPerBatch)
    • getMaxBatchDurationMillis

      @Long(500L) long getMaxBatchDurationMillis()
    • setMaxBatchDurationMillis

      void setMaxBatchDurationMillis(long value)
    • getReaderIdleTimeoutMillis

      @Long(600000L) long getReaderIdleTimeoutMillis()
    • setReaderIdleTimeoutMillis

      void setReaderIdleTimeoutMillis(long value)
    • getStreamingStopAfterIdleBatches

      @Integer(-1) int getStreamingStopAfterIdleBatches()
    • setStreamingStopAfterIdleBatches

      void setStreamingStopAfterIdleBatches(int value)