Back to Schedule
Conference (INTERMEDIATE level)
From Database Changes to Events: Debezium and Kafka Connect in Production
From Database Changes to Events: Debezium and Kafka Connect in Production
Conference (INTERMEDIATE level)
In 2023, our PostgreSQL database held 4 million financial instruments, and our clients could wait up to 30 minutes to see an update. We decided to stream changes instead.
We built a proof of concept with Debezium embedded in an application, publishing events to RabbitMQ. It worked — until a stalled replication slot filled the disk and took down our preprod database.
That failure taught us something our proof of concept never could: change data capture is not a connector you add. It is a platform you operate.
This talk tells the story of the next three years: our fragile first attempt, how Kafka and Snowflake gave us a second chance, and the journey from a local Docker setup to production. Along the way, we'll share the surprises that emerged at each stage and the operational problems we had to solve.
We'll show what we run today: snapshots for recovery, compaction to retain the latest state, WAL monitoring to protect the database, and a transformation layer that keeps consumers independent of raw database changes.
You'll leave with practical lessons from our production journey, the architecture we ended up with, and a story of how a side project with no budget became infrastructure operated by our IT team.
We built a proof of concept with Debezium embedded in an application, publishing events to RabbitMQ. It worked — until a stalled replication slot filled the disk and took down our preprod database.
That failure taught us something our proof of concept never could: change data capture is not a connector you add. It is a platform you operate.
This talk tells the story of the next three years: our fragile first attempt, how Kafka and Snowflake gave us a second chance, and the journey from a local Docker setup to production. Along the way, we'll share the surprises that emerged at each stage and the operational problems we had to solve.
We'll show what we run today: snapshots for recovery, compaction to retain the latest state, WAL monitoring to protect the database, and a transformation layer that keeps consumers independent of raw database changes.
You'll leave with practical lessons from our production journey, the architecture we ended up with, and a story of how a side project with no budget became infrastructure operated by our IT team.
Yingkun Bai
Swissquote
Yingkun is a Principal Software Engineer at Swissquote S.A., Switzerland, specializing in data-intensive applications and large-scale data platforms. She has extensive experience designing and building high-performance data processing systems, covering both batch and streaming architectures depending on business and technical requirements.
Her work focuses on solving complex challenges around scalability, reliability, performance, and architecture design in data-driven systems. She has hands-on experience building production-grade data pipelines and distributed applications, leveraging modern data technologies and architectural patterns to process and deliver data efficiently.
Yingkun is passionate about sharing practical engineering insights and lessons learned from designing and evolving real-world data platforms.
Her work focuses on solving complex challenges around scalability, reliability, performance, and architecture design in data-driven systems. She has hands-on experience building production-grade data pipelines and distributed applications, leveraging modern data technologies and architectural patterns to process and deliver data efficiently.
Yingkun is passionate about sharing practical engineering insights and lessons learned from designing and evolving real-world data platforms.
Mathieu Perez
Swissquote
Mathieu Perez is a Principal Software Engineer at Swissquote S.A., Switzerland, specializing in post-trade systems for foreign-exchange trading. Over more than a decade at Swissquote he has built and evolved the backend that takes over once a trade is done (reconciliation, end-of-day processing ...), and the data flows that keep positions and balances in agreement.
His work is less about raw speed than about getting the data right: correctness, reconcilability, and auditability across services built in Java and Spring Boot, backed by PostgreSQL and Kafka. In a domain where every figure has to reconcile and every record has to be explained, the hard problems are about accuracy and clarity rather than throughput.
Mathieu also looks after Swissquote's Data Persistency Community of Practice, where engineers set aside part of their time to explore and prototype around data. Work that has already led to talks at PostgreSQL meetups. He enjoys sharing the practical lessons that come out of building and maintaining real financial systems.
His work is less about raw speed than about getting the data right: correctness, reconcilability, and auditability across services built in Java and Spring Boot, backed by PostgreSQL and Kafka. In a domain where every figure has to reconcile and every record has to be explained, the hard problems are about accuracy and clarity rather than throughput.
Mathieu also looks after Swissquote's Data Persistency Community of Practice, where engineers set aside part of their time to explore and prototype around data. Work that has already led to talks at PostgreSQL meetups. He enjoys sharing the practical lessons that come out of building and maintaining real financial systems.