Expand description
Incremental replication support.
Structs§
- Replication
Bind - Declarative binding of the stored bookmark into the outgoing request — “server-side incremental push-down” (#513).
Enums§
- Bind
Format - How the bookmark value is formatted before it is substituted into the
ReplicationBind::template. - Bind
Target - Where a rendered bookmark is injected into the outgoing request.
- Replication
Method - Determines how records are replicated from the source.
Constants§
- BIND_
PLACEHOLDER - The placeholder replaced by the formatted bookmark inside a
ReplicationBind::template.
Functions§
- filter_
incremental - Filter
recordsto only those whererecord[key] > start. - format_
bookmark - Format a bookmark value per
BindFormat. - format_
instant - Format an already-resolved UTC instant per
BindFormat. Unlikeformat_bookmark(which takes an arbitrary scalar and, forBindFormat::Raw, echoes it verbatim), this always has a real instant, soRawandIso8601both emit an RFC 3339 UTC timestamp. Used to render window boundaries (#527). - json_gt
- Total-order “greater than” over JSON values, using the same comparison
filter_incrementalapplies to replication keys (numbers numerically, strings lexicographically — so RFC3339 timestamps order correctly). Public so callers bounding a replay window (e.g.faucet backfill --to-bookmark) compare exactly like the incremental filter does. - max_
replication_ value - Return the maximum value of
record[key]across all records, if any. - max_
value - Return the larger of two replication values using the same ordering as
max_replication_value(string lexicographic, numeric for numbers, falling back toaon type mismatch). - parse_
instant - Parse a bookmark value into a UTC instant (public wrapper over the internal
parser; see
BindFormatfor the accepted forms). Used by datetime window slicing (#527) to resolve the sweep’s start bound from the stored bookmark.