Stopping a connector
Written by
Updated at April 14, 2025
When a connector is stopped, it no longer sends messages to the bus.
Management console
CLI
API
- In the management console
, navigate to the folder where you want to stop a connector. - Select Serverless Integrations.
- In the left-hand panel, click
EventRouter. - Select a bus.
- Navigate to the
Connectors tab. - In the line with the appropriate connector, click
and select Stop.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameters.
-
View a description of the CLI command to pause a connector:
yc serverless eventrouter connector stop --help
-
Get a list of connectors:
yc serverless eventrouter connector list
Result:
+----------------------+-----------------------+----------------------+----------------------+---------+---------------------+ | ID | NAME | BUS ID | FOLDER ID | STATUS | DELETION PROTECTION | +----------------------+-----------------------+----------------------+----------------------+---------+---------------------+ | f66g4h59ih2g******** | connector-my-ydb-flow | f66qn4p7uk6p******** | b1g681qpemb4******** | STOPPED | true | | f66g6jcnc5no******** | yds-via-cli | f66qn4p7uk6p******** | b1g681qpemb4******** | RUNNING | false | | f66jfhcg1u71******** | mq-via-terraform | f66qn4p7uk6p******** | b1g681qpemb4******** | RUNNING | false | +----------------------+-----------------------+----------------------+----------------------+---------+---------------------+
-
Stop the connector:
yc serverless eventrouter connector stop <connector_name_or_ID>
Result:
id: f66g4h59ih2g******** bus_id: f66qn4p7uk6p******** folder_id: b1g681qpemb4******** cloud_id: b1gia87mbaom******** created_at: "2025-02-20T15:30:05.248052Z" name: renamed-ydb ... status: STOPPED
To stop a connector, use the Stop REST API method for the Connector resource or the Connector/Stop gRPC API call.