Connector
A connector is a customizable component made to receive events from external sources and forward those events to a bus.
Supported sources:
Timer
Timer is a source type that triggers scheduled event generation. The schedule is set in cron expression format. By default, cron expression uses UTC+0
If timer settings do not specify the data to provide to the bus, nothing is sent to the input of the target specified in the rule.
To learn more about the cron expression format, see Cron expressions in Serverless Integrations.
EventRouter API
The EventRouter API is a source type that enables using the EventRouter API to send user events to the bus.
To send events via an EventRouter API connector, use the EventService/Send gRPC API call or the yc serverless eventrouter send-event Yandex Cloud CLI command.
As opposed to sending messages directly to the bus, the EventRouter API connector enables you to:
- Grant users and service accounts granular permissions to send events via the specified connector.
- Terminate event sending by stopping the connector.
- Group events before sending them to the bus.