Skip to main content

register_otel_source

Function register_otel_source 

Source
pub fn register_otel_source(
    registry: &ConnectorRegistry,
) -> Result<(), ConnectorError>
Expand description

Registers the OTel source connector with the given registry.

After registration, the runtime can instantiate OtelSource by name when processing CREATE SOURCE ... FROM OTEL (...).

ยงErrors

Returns an error if the connector name is already registered or the registry is frozen.