Projects / Change data capture
E-commerce CDC Pipeline
How do you keep a full, correct history of a live shop database without touching the application?

What it does
Changes are read from the Postgres write-ahead log by Debezium, streamed through Kafka, landed idempotently in a warehouse and modelled with dbt into a star schema with SCD Type 2 history. Orders are credited to the city the customer lived in at the time, not where they live now.
What it shows
- Exactly-once results from at-least-once delivery
- SCD Type 2 customers and product prices
- Revenue, cohorts, RFM segments, price elasticity and fulfilment SLAs
- Public demo runs on a DuckDB snapshot: no server, nothing that pauses
Screens


