v0.1 pre-release · Apache-2.0 Start an evaluation

Reference

Configuration

Generated · exhaustive Every key the config parser accepts, extracted from the serde structs. Anything not on this page is rejected at parse time.

The document

A flow config is one YAML document with config_version pinned at 2. Every struct on this page is deny_unknown_fields: a typo in a key is an error, not a setting that is silently ignored.

KeyTypeRequirement
config_versionu16required
environmentConfigurationEnvironmentrequired
sourceSourceConfigrequired
datasetDatasetConfigrequired
streamStreamConfigrequired
targetTargetConfigoptional

source

KeyTypeRequirement
idStringrequired
database_urlSensitiveStringrequired
database_idStringoptional
captureSourceCaptureKinddefaulted
wal_retention_warn_bytesi64optional
stream_spill_threshold_changesusizeoptional
stream_spill_dirPathBufoptional
pgoutputPgOutputProtocolConfigdefaulted
publicationStringrequired
slotStringrequired

dataset

KeyTypeRequirement
idStringrequired
modeDatasetModerequired
unknown_table_policyUnknownTablePolicydefaulted
tablesTableConfigrequired
partitionPartitionConfigoptional
strict_chunkingStrictChunkConfigoptional

dataset.tables[]

KeyTypeRequirement
schemaStringrequired
nameStringrequired
verifyTableVerifyConfigoptional
contractTableContractConfigoptional

dataset.tables[].verify

KeyTypeRequirement
primary_keyStringdefaulted
excluded_columnsStringdefaulted
row_filterStringoptional

dataset.partition

KeyTypeRequirement
partition_countu32required
key_columnStringrequired
null_key_policyPartitionNullKeyPolicydefaulted
key_change_policyPartitionKeyChangePolicydefaulted

dataset.strict_chunking

KeyTypeRequirement
max_changes_per_chunku32required

stream

Tagged by kind. Exactly two transports.

kindKeys
localpath consumer_group durability
kafkabootstrap_servers topic consumer_group profile

stream.profile (Kafka)

development or production. Under environment: production only production is accepted, and it carries the contract below.

KeyValue in contract v1
ca_certificatesecret reference — environment variable or absolute file path
authenticationmutual_tls or sasl_tls with plain · scram_sha256 · scram_sha512
replication_factor≥ 3
min_insync_replicas≥ 2, and never above the replication factor
producer_acks_alltrue
producer_idempotencetrue
consumer_auto_commitfalse
store_offset_after_applytrue
synchronous_offset_committrue

target

Optional. Absent for a lake-only flow.

KeyTypeRequirement
database_urlSensitiveStringrequired

Every enumerated value

TypeValuesNotes
ConfigurationEnvironmentdevelopment · productiondefault development
DatasetModestrict-transaction-order · partitioned-scale-mode—
KafkaProfiledevelopment · productiondefault development · tagged by kind
LocalStreamDurabilityfsync · buffereddefault fsync
PartitionKeyChangePolicyquarantine · emit-move · dual-write-window · forbid—
PartitionNullKeyPolicyquarantine · route-to-dead-letter-partition · route-to-singleton-partition · derive-from-primary-key—
SourceCaptureKindpg-output · test-decodingdefault pg-output
StreamConfigkafka · localtagged by kind
UnknownTablePolicyreject · allow-compatibledefault reject

Defaults and limits

SettingDefaultBound
source.pgoutput.protocol_version21 with streaming off, or 2
source.pgoutput.streamingtrue—
source.stream_spill_threshold_changes1,024max 1,000,000
stream.durabilityfsyncfsync or buffered
dataset.unknown_table_policyrejectreject or allow_compatible
dataset.partition.null_key_policyquarantinefour policies
dataset.partition.key_change_policyquarantineplanner fails closed unless emit_move
How this page is produced

Generated from the repository at 347a884 by tools/gen_reference.py. If this page and the code disagree, the code is right and this page is a bug.

On this page