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.
- 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.