Setting up PostgreSQL for Debezium – Elephant Tamer
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
related reading
- Track every PostgreSQL data change using Debezium - DEV Communitydev.to
- GitHub - debezium/debezium: Change data capture for a variety of databases. Please log issues at https://github.com/debezium/dbz/issues. · GitHubgithub.com
- Flink CDC for Postgres: Lessons Learned | sap1ens.comsap1ens.com
- Debezium Releases Overviewdebezium.io
- Overcoming Pitfalls of Postgres Logical Decodingblog.peerdb.io
- Patching the PostgreSQL JDBC Driverengineering.zalando.com
- Debezium and TimescaleDBdebezium.io
- Exploring versions of the Postgres logical replication protocolblog.peerdb.io
- debezium-examples/postgres-toast at main · debezium/debezium-examplesgithub.com
- PostgreSQL CDC - RisingWavedocs.risingwave.com
- Mediumlevelup.gitconnected.com
- Scaling PostgreSQL to power 800 million ChatGPT users | OpenAIopenai.com