pub type SinkFactory = Arc<dyn Fn(Option<&Registry>) -> Box<dyn SinkConnector> + Send + Sync>;Expand description
Factory function type for creating sink connectors.
The optional &prometheus::Registry allows connectors to register
their metrics on the shared Prometheus registry when one is available.
Aliased Typeยง
pub struct SinkFactory { /* private fields */ }