You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d71aee1
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/design/2026-11-25-ticdc-consumer-design.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,8 +102,8 @@ To confirm external progress safely under concurrent or out-of-order downstream
102
102
1. Decode and update the shared schema cache;
103
103
2. Synchronously wake and decode all pending DMLs waiting on that schema across any partition;
104
104
3. Drop schema-only metadata (`Bootstrap`) and deduplicate broadcast DDLs by DDL identity so the first-arriving partition forwards the DDL to `conductor` while duplicate copies on other partitions are dropped (retaining the DDL's `commit-ts` as each partition's marker so offsets are not acknowledged before the DDL persists).
105
-
-**Fail-fast error handling**: Unrecoverable decoding errors or downstream write failures abort the pipeline immediately without advancing $C$ or committing unpersisted offsets; as a test and verification tool, the Consumer does not support cross-restart recovery.
106
-
-**Three-layer in-process replay deduplication and sink batching**: `writer` passes ready DML events directly to the downstream DB sink for native batching and filters duplicate deliveries (such as MQ redelivery or Storage rescans) via three checks:
105
+
-**Fail-fast error handling**: Unrecoverable decoding errors or downstream write failures abort the pipeline immediately without advancing $C$ or committing unpersisted offsets; as a test and verification tool, the Consumer itself does not support cross-restart recovery.
106
+
-**Three-layer replay deduplication and sink batching**: `writer` passes ready DML events directly to the downstream DB sink for native batching and filters duplicate events via three checks:
107
107
1. Drops events with `commit-ts <= C` as already durable;
108
108
2. Tracks written Handle keys in the `commit-ts > C` window to drop duplicates, reclaiming keys with `commit-ts <= C` once $C$ advances;
109
109
3. Retains an in-memory `(commit-ts, schema, table, query)` set for executed DDLs so non-idempotent DDLs never re-execute across replay windows.
@@ -114,4 +114,4 @@ To confirm external progress safely under concurrent or out-of-order downstream
114
114
115
115
-**Source-agnostic correctness**: Unifying Kafka, Pulsar, and Cloud Storage behind one `commit-ts` <= $W_{\text{eff}}$ gate, `DDL Barrier`, and $C$-driven acknowledgement model eliminates per-source consistency gaps.
116
116
-**High throughput without sacrificing safety**: Concurrent decoding and cross-table/cross-row dispatch avoid single-partition or whole-table bottlenecks while keeping per-row order and `DDL Barrier` invariants intact.
117
-
-**Safe in-process deduplication**: Bounding $C$ by downstream persistence callbacks and pairing offset commits with `writer` deduplication handles redeliveries and rescans cleanly within a run.
117
+
-**Safe deduplication**: Bounding $C$ by downstream persistence callbacks and pairing offset commits with `writer` deduplication handles duplicate events cleanly within a Consumer run.
0 commit comments