StreamingFlowExecution¶
StreamingFlowExecution is an extension of the FlowExecution abstraction for streaming flow executions that process data statefully using Spark Structured Streaming.
Contract (Subset)¶
Checkpoint Location¶
Path for the most recent checkpoint of this streaming flow execution
See:
Used when:
StreamingTableWriteis requested to start a streaming query
Resolved Flow¶
See:
Start Streaming Query¶
See:
Used when:
StreamingFlowExecutionis requested to executeInternal
Start Streaming Query¶
See:
Used when:
StreamingFlowExecutionis requested to executeInternal
sqlConf¶
Spark configuration properties that must be set upon starting this flow
See:
Used when:
StreamingFlowExecutionis requested to executeInternal
Streaming Trigger¶
Trigger (Spark Structured Streaming)
See:
Used when:
SinkWriteis requested to startStreamStreamingTableWriteis requested to startStream
Implementations¶
executeInternal¶
FlowExecution
executeInternal is part of the FlowExecution abstraction.
executeInternal prints out the following INFO message to the logs:
executeInternal starts the stream (with this SparkSession and sqlConf).
In the end, executeInternal awaits termination of the StreamingQuery.
Final Method
executeInternal is a Scala final method and may not be overridden in subclasses.
Learn more in the Scala Language Specification.