Skip to main content

Module config

Module config 

Source
Expand description

Job configuration: YAML schema, defaults, and validation.

Connection URLs are never stored in the file; they are read from the environment variables named by url_env so that secrets stay out of config and logs.

Structs§

Config
JobConfig
ReplicationConfig
ResourcesConfig
RetryBackoff
SafetyConfig
SchemaConfig
SourceConfig
TableName
A schema.table pair. Serialised as schema.table; quoted identifiers are not supported in Beta 1 (names must be plain lower-case identifiers).
TargetConfig

Enums§

ReplicationMode
SchemaMode
WalRetentionAction

Constants§

MAX_MESSAGE_BYTES_CAP

Functions§

format_duration
is_plain_identifier
is_slot_name
parse_duration
Human durations such as 500ms, 10s, 5m, 2h.
quote_ident
Quote an SQL identifier, doubling embedded quotes.
quote_literal
Quote an SQL string literal (single quotes doubled). Used only for replication commands, which do not support parameters.