Skip to main content

build_sink

Function build_sink 

Source
pub async fn build_sink(
    kind: &str,
    config: Value,
    auth: &AuthCatalog,
) -> CliResult<Box<dyn Sink>>
Expand description

Build a Sink trait object from a (kind, config) pair. When the config carries auth: { ref: <name> }, the named provider is resolved from auth (the catalog) and injected into the connector.