Skip to main content

Module config

Module config 

Source
Expand description

TOML configuration parsing for LaminarDB server.

Supports ${VAR} and ${VAR:-default} environment variable substitution.

Structs§

AiSection
[ai] — provider wiring and per-task defaults. Models live in the top-level [models.*] tables, per the configuration contract.
CheckpointSection
[checkpoint] section.
ColumnDef
Column definition within a source or lookup schema.
CoordinationSection
[coordination] section: delta coordination.
DiscoverySection
[discovery] section: delta node discovery.
LookupCacheConfig
Cache configuration for lookup tables.
LookupConfig
[[lookup]] section: lookup table for enrichment joins.
ModelConfig
[models.<name>].
PipelineConfig
[[pipeline]] section.
ProviderConfig
[ai.providers.<name>].
Secret
String that redacts itself in Debug output.
ServerConfig
Top-level server configuration deserialized from laminardb.toml.
ServerSection
[server] section.
SinkConfig
[[sink]] section.
SourceConfig
[[source]] section.
WatermarkConfig
Watermark configuration for a source.

Enums§

ConfigError
TaskSpec
A model’s task list, written as a single string or an array.

Constants§

MIN_PGWIRE_PASSWORD_LEN 🔒
NIST baseline; MD5 has no work factor, so length is the only knob.

Statics§

ENV_VAR_RE 🔒
Regex for ${VAR} and ${VAR:-default} patterns.

Functions§

default_ai_max_concurrency 🔒
default_bind 🔒
default_cache_size 🔒
default_cache_ttl 🔒
default_checkpoint_interval 🔒
default_checkpoint_url 🔒
default_coordination_strategy 🔒
default_delivery 🔒
default_election_timeout 🔒
default_format 🔒
default_gossip_port 🔒
default_heartbeat_interval 🔒
default_lookup_strategy 🔒
default_max_ooo 🔒
default_max_retained 🔒
default_mode 🔒
default_pgwire_max_auth_failures_per_min 🔒
default_pgwire_max_connections 🔒
default_pgwire_tls_min_version 🔒
default_raft_port 🔒
default_true 🔒
load_config
Load, parse, and validate a LaminarDB configuration file.
substitute_env_vars 🔒
Substitute ${VAR} and ${VAR:-default} patterns with environment values.
validate_ai 🔒
Structural validation of the [ai] / [models] config — references resolve and required fields are present. Semantic checks (task names, label seam) happen when the registry is built.
validate_config 🔒