You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`PipelineEventSender` is used by [PipelinesHandler](PipelinesHandler.md) to [send pipelines execution progress events back to a Spark Connect client asynchronously](#sendEvent).
4
+
5
+
`PipelineEventSender` uses [spark.sql.pipelines.event.queue.capacity](./configuration-properties.md#PIPELINES_EVENT_QUEUE_CAPACITY) configuration property to control the depth of the event queue.
6
+
7
+
## Creating Instance
8
+
9
+
`PipelineEventSender` takes the following to be created:
*`PipelinesHandler` is requested to [start a pipeline run](PipelinesHandler.md#startRun)
17
+
18
+
## queueCapacity { #queueCapacity }
19
+
20
+
`queueCapacity` is the value of [spark.sql.pipelines.event.queue.capacity](./configuration-properties.md#PIPELINES_EVENT_QUEUE_CAPACITY) configuration property.
21
+
22
+
Used when:
23
+
24
+
*`PipelineEventSender` is requested to [shouldEnqueueEvent](#shouldEnqueueEvent)
Copy file name to clipboardExpand all lines: docs/declarative-pipelines/PipelinesHandler.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
---
2
+
subtitle: Spark Connect Endpoint
3
+
---
4
+
1
5
# PipelinesHandler
2
6
3
7
`PipelinesHandler` is used to [handle pipeline commands](#handlePipelinesCommand) in [Spark Connect]({{ book.spark_connect }}) ([SparkConnectPlanner]({{ book.spark_connect }}/server/SparkConnectPlanner), precisely).
@@ -87,7 +91,7 @@ startRun(
87
91
88
92
`startRun` finds the [GraphRegistrationContext](GraphRegistrationContext.md) by `dataflowGraphId` in the [DataflowGraphRegistry](DataflowGraphRegistry.md) (in the given `SessionHolder`).
89
93
90
-
`startRun` creates a `PipelineEventSender` to send pipeline events back to the Spark Connect client (_Python pipeline runtime_).
94
+
`startRun` creates a [PipelineEventSender](PipelineEventSender.md) to [send pipeline execution progress events back to the Spark Connect client](PipelineEventSender.md#sendEvent) (_Python pipeline runtime_).
91
95
92
96
`startRun` creates a [PipelineUpdateContextImpl](PipelineUpdateContextImpl.md) (with the `PipelineEventSender`).
0 commit comments