Runtime: tasks, sources, and sinks
The Runtime icon group on Pipelines → Pipelines, Sources, Tasks, and Sinks is the component runtime lifecycle surface. Start, Stop, and Restart are icon buttons beside the checkbox. They change workload execution for deployed components—not registry authoring or pipeline-wide graphs.
Architecture context
| Layer | Role |
|---|---|
| UI | Sends runtime lifecycle commands and renders operational state returned from the API. |
| Core | Executes connector and task workloads after activation; reports runtime health and errors. |
Runtime scope
- Assigned cores in the matching state — Start applies to the assigned cores where the component is not running. Stop and Restart apply to the assigned cores where it is running, and ask you to confirm first.
- Execution state is Core-specific — hover an assignment chip to see that Core's status. A pipeline chip lists each source, task, and sink status; a source, task, or sink chip shows that one status.
- There is no Core Actions column. The chips are display only; they carry no controls.
Operational responsibility
| Surface | Responsibility |
|---|---|
| Tasks, Sources, Sinks, Pipelines | Definitions — what exists in the registry and how pipelines are wired (record menu ...: View, Edit, Clone, Delete). |
| Config icons on the same tables and on Services → Cores | Registry sync — Core Sync, entity Deploy / Sync / Remove, fingerprint needs deploy. |
| Runtime icons (this page) | Execution state — workload activation (Start / Stop / Restart) for deployed tasks and connectors on their assigned cores. |
| Control Tower | Live pipeline graph, per-stage runtime health, and graph-level controls for attached pipelines on the selected Core. |
Working with Tasks
- Tasks run PDL over stream data and publish results to configured outputs.
- A task assumes the definition is already deployed to the Core; Start / Stop only change runtime execution.
- If a task stays inactive or errors, triage upstream streams, Pipelines deployment, and Cores placement—not only the chip status.
Working with Sources
- Sources drive ingest runtime: connectors read external systems and publish events into streams.
- Workload activation assumes deployment succeeded and stream bindings exist; starting a source does not fix missing topology.
- Runtime health often depends on upstream reachability (network, credentials, endpoint rate limits)—use logs and metrics when the chip shows running but volume is wrong.
Working with Sinks
- Sinks control outbound delivery: connectors consume from streams and write to destinations.
- Deployment state and execution state are independent — a sink can be deployed but stopped, or running yet failing delivery.
- Delivery failures (backpressure, auth, destination outages) may surface as errors or lag even when deployment is healthy; correlate with streams, tasks, and external systems.
Runtime lifecycle
- Deploying a component or pipeline does not automatically start execution.
- Start and Stop can be applied independently of fresh registry edits until you redeploy—expect stale behavior if definitions drift.
- Deployed components may remain inactive indefinitely (stopped) while still present on the Core.
Deployment prerequisites
Before Start succeeds in practice, typically:
- The component is in the Core’s desired set and synced/deployed via Cores Sync or entity Deploy (Tasks / Sources / Sinks / Pipelines).
- Pipeline relationships and stream wiring exist—see Pipelines and Streams.
- The Runtime icons do not create deployment topology or registry rows; they only issue runtime commands against what is already on the engine.
Cross-page workflow
Needs deploy (fingerprint drift) is cleared on Cores via Sync or on Pipelines (and Tasks / Sources / Sinks) via entity Deploy; graph-level runtime work continues on Control Tower.
Related pages
- Tasks — task definitions and modes (processing vs detection)
- Sources — source connector definitions and parameters
- Sinks — sink connector definitions and parameters
- Pipelines — registry pipeline topology before Deploy / Sync
- Streams — stream durability and buffering for ingest/egress
- Cores — Deploy, Sync, and Remove — Deploy / Sync / Remove on engines
- Pipelines — Deploy, Sync, and Remove — entity Deploy / Sync / Remove across Cores
- Control Tower — live execution graph and pipeline-level runtime operations