Control Output Connector
Required role: write or higher.
Start (resume) or pause the output connector.
The following values of the action argument are accepted: start and pause.
Output connectors can be in either the Running or Paused state. By default,
connectors are initialized in the Running state when a pipeline is deployed.
In this state, the connector forwards the output of its view to the configured
sink. A connector can be created in the Paused state by setting its
paused property
to true.
A paused output connector discards the output it receives instead of sending
it to its sink; output produced while the connector is paused is gone for
good. The start command resumes the connector with the output the
pipeline produces from that point on.
The current connector state can be retrieved via the
GET /v0/pipelines/{pipeline_name}/stats endpoint.
| Path Parameters |
|---|
pipeline_name string — REQUIREDUnique pipeline name |
view_name string — REQUIREDSQL view name |
connector_name string — REQUIREDOutput connector name |
action string — REQUIRED |
| Responses | ||||
|---|---|---|---|---|
200Action has been processed | ||||
404Pipeline, view and/or output connector with that name does not exist
| ||||
500
| ||||
503
|