StreamingFlowExecution¶
StreamingFlowExecution
is an extension of the FlowExecution abstraction for streaming flow executions that process data statefully using Spark Structured Streaming.
Contract¶
Execute Streaming Query¶
startStream(): StreamingQuery
See:
Used when:
StreamingFlowExecution
is requested to executeInternal
Streaming Trigger¶
trigger: Trigger
See:
Used when:
FlowPlanner
is requested to plan a StreamingFlowStreamingTableWrite
is requested to execute the streaming query
Implementations¶
executeInternal¶
FlowExecution
executeInternal(): Future[Unit]
executeInternal
is part of the FlowExecution abstraction.
executeInternal
prints out the following INFO message to the logs:
Starting [identifier] with checkpoint location [checkpointPath]"
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.