Real-time CDC pipelines that stop instead of losing rows
I set up change data capture from MySQL or PostgreSQL through Debezium and Kafka into ClickHouse or Snowflake. Offsets are committed only after the warehouse confirms the write, and a reconciliation job proves the counts match.
When nightly batches and polling stop being enough
Reports hit the production database
Analysts query the OLTP database directly and it slows down the app. CDC reads the binlog instead, so the database barely notices.
Dashboards are a day old
Nightly loads mean decisions get made on yesterday's numbers. With CDC, changes land in the warehouse within seconds.
Rows go missing and nobody knows why
An offset got committed before the write landed, or a bad message got skipped. I design consumers to stop and alert instead.
Partners want live updates
The same change stream can drive webhooks to customers or partners, in a separate consumer group so it can't slow analytics down.
A pipeline your team can run and recover
- Debezium connectors with initial snapshot and binlog or WAL capture
- Kafka topics, partitions and retention sized from your change rate
- Python consumers that commit offsets only after the warehouse confirms
- Warehouse tables built to absorb replays (ReplacingMergeTree or MERGE)
- Reconciliation job that compares counts and id ranges per table
- Lag, error and stopped-table alerts wired to your channel
- History backfill procedure that does not double count
- Runbook: restart, replay, add a table, recover from a failed broker
Pick the size that matches your tables
Fixed scope and fixed price, agreed in writing before I start. Each price is my $60/hr rate times the hours the work normally takes.
Pilot
Prove CDC on a few tables before you commit.
- Up to 5 tables, one environment
- Debezium + Kafka (your cluster or managed)
- Fail-closed consumer into ClickHouse or Snowflake
- Reconciliation report per table
- Written go / no-go and next-step plan
Production
A real pipeline for your main database, ready for production.
- Up to 50 tables, staging and production
- 3-node KRaft or managed Kafka, sized and replicated
- Fail-closed consumers with alerts on lag and errors
- History backfill without double counting
- Daily reconciliation job
- Runbook, architecture notes and recorded walkthrough
Platform
Many databases, webhooks and operator tooling.
- 100+ tables and several source databases
- Webhook consumer group with enrichment and retries
- Operator tooling: start, stop, trace, replay
- Active–Standby failover plan and test
- Destination database sync if you need one
- 30 days of post-launch support
Kafka, cloud and warehouse costs are billed to your accounts, not by me. Not sure which tier? Email me your table count and change rate.
The design I run in production every day
Numbers from the CDC platform I designed and run as principal data engineer. Client names and internals stay private.
From first email to handover
Short email
Tell me your stack, the problem and the deadline. I reply within one working day.
Written plan
Scope, deliverables, how we prove it works, and a fixed price. You approve before I start.
Build and demo
I work in your accounts and repo, with a demo every week and dry runs before anything touches production.
Handover
Code, runbook, notes and a recorded walkthrough. Your team owns it from day one.
Tools and products that go with this
Kafka & CDC sizing calculator
Estimate partitions, brokers and storage from your change rate.
Open Free toolReconciliation SQL generator
Generate the source-vs-warehouse checks I use.
Open PlaybookZero-Loss CDC playbook
The whole design written down, if you want to build it yourself.
Open Case studyCDC platform case study
How the production platform works and why.
OpenQuestions about this service
Can you work with managed Kafka like Confluent Cloud, Amazon MSK or Aiven?
Yes. The design doesn't depend on who runs the brokers. I size topics and consumers the same way and use your provider's connectors or self-managed Kafka Connect.
Do you support PostgreSQL as a source?
Yes. The platform I run in production reads MySQL binlogs. PostgreSQL uses the same Debezium and Kafka design with logical decoding. If anything in your setup changes the plan, I say so before we start.
Is it exactly-once?
It is at-least-once with idempotent warehouse tables. A restart can write a batch twice, and the tables are built so duplicates collapse. A gap can't happen, because offsets only move after the warehouse confirms. In practice this is more robust than chasing exactly-once.
What if our volume is small?
Then I'll tell you. Sometimes a scheduled incremental load is cheaper and good enough. The Pilot ends with a written go / no-go for exactly this reason.
Can the same stream feed webhooks to our customers?
Yes. I run a separate consumer group on the same topics, enrich events from warehouse serving tables in batches, and deliver over HTTP with retries and stable message ids. That's part of the Platform tier, or a separate quote.
One senior engineer, start to finish
I'm Danish Rajpoot (Muhammad Danish Ishfaq), a data architect and principal data engineer with nearly 9 years on data platforms and a master's in computer science from the University of Eastern Finland. The real-time CDC platform I designed runs 200+ tables into ClickHouse with no skipped events. I do the work myself and write the handover so your team can run it without me.
Want live data without the missing rows?
Send me your source database, rough table count and where the data needs to land. I'll reply with the tier that fits and anything I'd check first.
A short note is enough: what you have, what is going wrong, and when you need it.