Complete YAML reference for event-stream-connections resources in Rudder CLI.
Available Plans
free
growth
enterprise
12 minute read
This guide is the YAML reference for Event Stream connection resources in a Rudder CLI project.
Connection support requires Rudder CLI v0.25.0 or later. Reverse ETL connections are not supported yet.
Upgrade if you are using an earlier version.
Overview
Set kind to event-stream-connections. The spec body is a list. Each entry is one Event Stream source to destination link. Store the files anywhere under the project root.
Each source must be #event-stream-source:…. A config block on this kind is a parse error. Connection mode and other per-source-type settings live on the destination spec.
Connection fields
Each entry in spec.connections has these fields:
Property
Type
Description
id Required
String
Local identifier. Must be unique across connection entries in the project.
source Required
String
Reference to an Event Stream source in this project — #event-stream-source:[source.id].
destination Required
String
Reference to a destination in this project — #destination:[destination.id].
enabled
Boolean
Whether this connection delivers. Defaults to true. Both the source and the destination must also be enabled for data to flow; validate warns if they are not.
Changing source or destination replaces the connection (delete + create). The backend allows only one live row per source–destination pair. enabled is the only field you can update in place.
rudder-cli validate runs these checks locally. Error blocks validate and apply. Warning does not.
Check
Severity
source and destination exist in the project
Error
Connection id is unique; refs use #event-stream-source: and #destination:
Error
The same source–destination pair appears only once in the project
Error
The destination definition supports the source’s type
Error
The destination config includes every field that definition requires for the connecting source type
Error
An enabled connection has both endpoints enabled
Warning
The destination’s other project connections are also Event Stream
Error
The following are not checked locally. Apply surfaces the server error: workspace plan gates, permissions, and OAuth or account existence.
Topology rules see only connections in the project. Remote-only connections (created in the dashboard and never imported) are invisible at validate time.
The rule catalog below lists every rule with valid and invalid examples.
Spec version
Filter by phase
Showing 6 of 6 rules
An enabled Event Stream connection needs both its endpoints enabled to deliver events
Same URN imported by both a manifest and inline metadata
The URN event:order_completed is declared in both the manifest and an inline metadata.import block — an ambiguous double import. The rule flags both locations; remove one.
import-manifest.yaml/spec/workspaces/0/resources/0/urnURN 'event:order_completed' is defined in both an import-manifest and inline metadata
events.yaml/metadata/import/workspaces/0/resources/0/urnURN 'event:order_completed' is defined in both an import-manifest and inline metadata
Manifest URN overlaps a legacy rudder/0.1 inline local_id import
The events spec uses the legacy rudder/0.1 format, whose inline imports reference resources by local_id + remote_id. The local_id order_completed resolves to the URN event:order_completed — the same URN the manifest imports. Legacy specs are still subject to the conflict rule, so both locations are flagged; remove the inline metadata entry.
Import writes all Event Stream connections into one file, imported/event-stream/connections.yaml. Related Event Stream sources land under imported/event-stream/sources/. See How to Import Workspace Resources.
This site uses cookies to improve your experience. If you want to learn more about cookies and why we use them, visit our cookie policy. We'll assume you're ok with this, but you can opt-out if you wish
Privacy Overview
This site uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.