Thalweg · API reference ← Main docs

Module precondition

Module precondition 

Source
Expand description

Primary-raw eligibility (blueprint §8). A Zerobus sink may hold the primary-raw role only if its Delta target is readable back through Iceberg for recovery. These are config-validation preconditions, re-checked not cached (a table property can change under a running pipeline), enforced against the live table properties from the catalog’s describe.

Unmet → refuse the role loudly (FatalConfig); recovery is a precondition for a second sink, not later hardening (ADR-0057).

Functions§

check_primary_raw
Check the primary-raw preconditions against live table properties.