Running a connector
- In the management console
, go to the folder where you want to run a connector. - Go to 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 used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.
-
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 listResult:
+----------------------+-----------------------+----------------------+----------------------+---------+---------------------+ | 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.