Expand description
CDC-to-reference-table adapter for using CDC sources as lookup tables. CDC-to-reference-table adapter.
Wraps any SourceConnector (Postgres CDC, MySQL CDC) as a
ReferenceTableSource so CDC streams can populate lookup tables.
The adapter has two phases:
- Snapshot: calls
poll_batch()until the source returnsNone, treating the initial burst as a consistent snapshot. - Changes: subsequent
poll_changes()calls continue polling for incremental CDC events.
Structsยง
- CdcTable
Source - Adapts a
SourceConnectorinto aReferenceTableSource.