Running a connector
Written by
Updated at April 14, 2025
Management console
CLI
API
- In the management console
, go to the folder where you want to run a connector. - Select Serverless Integrations.
- In the left-hand panel, click
EventRouter. - Select the bus you need.
- Navigate to the
Connectors tab. - In the line with the connector, click
and select Start.
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.
-
See the description of the CLI command for running a connector:
yc serverless eventrouter connector start --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 | +----------------------+-----------------------+----------------------+----------------------+---------+---------------------+
-
Run a connector:
yc serverless eventrouter connector start <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: RUNNING
To run a connector, use the Start REST API method for the Connector resource or the Connector/Start gRPC API call.