flâneur — a map of the web's best reading

Setting up PostgreSQL for Debezium – Elephant Tamer

elephanttamer.net · 754 words · saved by 1 readers

Edit: In the original post, I made a mistake about Debezium versions: it should be 1.2.2 to 1.3.0, not 2.0 to 3.0. And we have experienced a production incident with 1.2.1 so my recommendation is – go for 1.3.1, not any other version (as for November 2020). Debezium is a popular Open Source change data capture (CDC) solution. It’s based on a set of well-established components (Kafka, Kafka Connect, ZooKeeper) and used successfully in production by companies like Dehlivery or BlaBlaCar. However, the setup is not as straightforward as one may think, and you may encounter some obstacles. In this post, I will share some tips originating from hooking up Debezium to a quite big and busy OLTP Postgres database. Originally, Debezium was connected to a Postgres DB using a wal2json or decoderbufs plugins. Don’t use them – as native logical replication became available in Postgres 10, a better option called “pgoutput” was introduced in Debezium. From the database perspective, the Debezium connect

Edit: In the original post, I made a mistake about Debezium versions: it should be 1.2.2 to 1.3.0, not 2.0 to 3.0. And we have experienced a production incident with 1.2.1 so my recommendation is – go for 1.3.1, not any other version (as for November 2020). Debezium is a popular Open Source change data capture (CDC) solution. It’s based on a set of well-established components ( Kafka , Kafka Connect, ZooKeeper) and used successfully in production by companies like Dehlivery or BlaBlaCar . However, the setup is not as straightforward as one may think, and you may encounter some obst

Explore this link on the map →

related reading