Skip to main content

build_config_sync_runtime

Function build_config_sync_runtime 

Source
pub fn build_config_sync_runtime(
    config: &ConfigSyncConfig,
    namespace: &str,
) -> Result<ConfigSyncRuntime>
Expand description

Builds a namespaced config-sync runtime from static config.

This common backend factory owns backend dispatch, runtime ID generation, and transport-specific topic mapping. Product crates only pass their namespace and provide their reload callback to ConfigSyncRuntime::run_reload_subscription.