connector
Module: config::connector
Section titled “Module: config::connector”Contents
Section titled “Contents”Structs
ConnectorConfig- Top-level connector configuration.HostConnectorConfig- Per-host connector configuration.
firma_sidecar::config::connector::ConnectorConfig
Section titled “firma_sidecar::config::connector::ConnectorConfig”Struct
Top-level connector configuration.
Missing section or empty host list means every target uses the registry default (30s timeout, no rate limit).
Fields:
default_timeout_ms: u64- Timeout in milliseconds applied to the registry default.hosts: Vec<HostConnectorConfig>- Per-host overrides. Each entry becomes a
Methods:
fn validate(self: &Self) -> Result<(), String>- Validates the section.
Trait Implementations:
- Clone
fn clone(self: &Self) -> ConnectorConfig
- Deserialize
fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
- Debug
fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
- Default
fn default() -> Self
firma_sidecar::config::connector::HostConnectorConfig
Section titled “firma_sidecar::config::connector::HostConnectorConfig”Struct
Per-host connector configuration.
All fields are required for explicit host entries — the intent is that operators state their per-host constraints explicitly rather than inherit global defaults that could silently change.
Fields:
host: String- Target host this entry applies to (exact match against therps: u32- Sustained refill rate for the token-bucket rate limiter, inburst: u32- Token-bucket capacity. Bounds the instantaneous burst.timeout_ms: u64- Dispatch timeout in milliseconds applied to this host.