Expand description
Feature-gated dispatch from a string type to a concrete connector.
Every arm in this file is guarded by the matching source-* / sink-*
Cargo feature so users can build a slim binary with just the connectors
they need. The string keys here are the public contract of the CLI’s
type: field in YAML/JSON pipeline configs.
Functions§
- build_
sink - Build a
Sinktrait object from a(kind, config)pair. When the config carriesauth: { ref: <name> }, the named provider is resolved fromauth(the catalog) and injected into the connector. - build_
source - Build a
Sourcetrait object from a(kind, config)pair. When the config carriesauth: { ref: <name> }, the named provider is resolved fromauth(the catalog) and injected into the connector. - sink_
descriptions - One-line summary of every compiled-in sink connector. Used by
faucet list. - sink_
exists - Check if a sink kind is registered (not unknown or disabled by feature gate).
- sink_
kinds - Names of every compiled-in sink connector.
- sink_
schema - Return the JSON Schema for the named sink’s config struct.
- sink_
supported_ write_ modes - Write modes each sink kind supports. Kept in sync with each sink’s
Sink::supported_write_modes()override. - sink_
supports_ idempotent_ writes - Sink connector kinds that can durably commit a token atomically with data.
Mirrors
Sink::supports_idempotent_writesoverrides — keep in sync when a new sink opts in. - source_
descriptions - One-line summary of every compiled-in source connector. Used by
faucet list. - source_
exists - Check if a source kind is registered (not unknown or disabled by feature gate).
- source_
kinds - Names of every compiled-in source connector.
- source_
schema - Return the JSON Schema for the named source’s config struct.
- source_
supports_ exactly_ once - Source connector kinds that deterministically replay (exactly-once-capable).
Mirrors
Source::supports_exactly_onceoverrides — keep in sync when a new source opts in. See docs/superpowers/plans/2026-06-09-exactly-once-delivery.md.