Skip to content

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

checkpointPath: String

Used when:

Start Streaming Query

startStream(): StreamingQuery

See:

Used when:

Streaming Trigger

trigger: Trigger

Trigger (Structured Streaming)

See:

Used when:

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.