CDC: Kafka to MotherDuck | Real-Time Replication Guide
Real-time Change Data Capture from Kafka to MotherDuck with exactly-once delivery, order-token guards, and tombstone anti-resurrect protection.
Source: Kafka. Destination: MotherDuck.
CDC apply: DuckDB MERGE.
Sample config
yaml
skippr:
workspace: cdc_kafka_to_motherduck
pipelines:
cdc_kafka_to_motherduck:
data_source: data_sources.source
data_sink: data_sinks.warehouse
cdc:
default:
business_key_columns:
- id
data_sources:
source:
Kafka:
brokers: "localhost:9092"
topic: dbserver1.public.customers
cdc_mode: snapshot_then_cdc
data_sinks:
warehouse:
Motherduck:
motherduck_token: "${MOTHERDUCK_TOKEN}"
database: my_database
schema: mainEnvironment
bash
export MOTHERDUCK_TOKEN="eyJ..."Source connector: kafka. Destination connector: motherduck-warehouse.
See CDC overview.
