Expand description
Configuration source abstraction.
Decides where the gateway’s routes/policies/consumers are loaded from and
how Admin API mutations are persisted. FileConfigStore is the default,
stateless source (reads gateway.yaml, applies edits in memory). The
etcd feature adds [EtcdConfigStore] for shared config delivery across an
HA cluster — every instance watches the same etcd prefix and converges on
changes. Both sit behind the ConfigStore trait so main and the Admin
API are backend-agnostic.
Modules§
- etcd
- etcd-backed config store for HA clustering.
Structs§
- File
Config Store - File-backed config store: loads
gateway.yamland applies Admin mutations in memory. The on-disk file is not rewritten (matching the original behavior — edits are live but not persisted to the file). Stateless, single-node; the default whenconfig.sourceisfileor unset.
Traits§
- Config
Store - A source of gateway configuration and the sink for Admin API mutations.