
7/29/2020 · Mike Fowler
What this post added
This post details the implementation of Change Data Capture (CDC) using Debezium and Kafka Streams to ingest data from MongoDB into Kafka. It addresses the challenge of handling partial updates from the Debezium MongoDB CDC Connector by using Kafka Streams to maintain a table of complete documents. The post explains the concepts of streams and tables in Kafka Streams, provides a Java code example for a Kafka Streams application that performs a left join between a CDC stream and a table to merge changes, and details the merge function logic for handling create, read, update, and delete operations.