pub fn create_writer(
backend: &WriterBackendType,
config: &WriterConnectConfig,
clock: WriterClock,
factories: &WriterFactoryRegistry,
) -> Result<StreamingDataSink>Expand description
Resolves a writer backend through the factory registry and constructs the writer.
All variants resolve through the registry so built-ins and custom names share one code path.
§Errors
Returns an error if the backend’s factory is not registered or construction fails.