Open source change data capture platform that streams row-level database changes as events, built on Kafka and Kafka Connect.
debezium/debezium-examples
A collection of runnable example setups showing how to use Debezium for change data capture, with Docker Compose files, configs and tutorials.
- Stars
- 1,688
- Forks
- 876
- Open issues
- 13
- Last commit
- 10 hours ago
What is it?
debezium-examples is a set of ready-to-run examples for Debezium, an open-source change data capture (CDC) platform that streams row-level changes from databases into event streams. Each example lives in its own folder and includes configuration files, Docker Compose setups or Kubernetes/OpenShift templates needed to try a specific scenario.
The examples cover a wide range of use cases: streaming Postgres, MySQL, MongoDB and SQL Server changes to Kafka, Apache Pulsar, Google Pub/Sub, Amazon Kinesis or Redis via Debezium Server; building outbox, saga, CQRS and audit-log patterns; and integrating with Kafka Streams, Apache Flink, Apache Camel, Neo4j, Milvus and Elasticsearch. A tutorial folder serves as the starting point for new users.
The repository is aimed at developers who already know what CDC is and want a concrete, working reference for a particular database, sink or architecture pattern.
Key features
- 01Docker Compose setups for running Debezium with Kafka and source databases locally.
- 02Examples for Postgres, MySQL, MongoDB, SQL Server and Oracle as change sources.
- 03Debezium Server examples with sinks such as Pub/Sub, Kinesis, Pulsar and Redis.
- 04Patterns including outbox, saga, CQRS, cache invalidation and audit logs.
- 05Integrations with Kafka Streams, Flink, Camel, Neo4j, Milvus and Elasticsearch.
- 06Kubernetes and OpenShift deployment templates for Debezium Server and the Operator.
Use cases
- Learning how Debezium is configured for a specific database and sink before building your own pipeline.
- Prototyping an outbox or saga pattern in a microservices architecture.
- Syncing database changes into a search engine, vector store or graph database.
- Testing a CDC setup locally with Docker Compose before deploying to Kubernetes.
Quick start
- 1
Open the tutorial example from the README to get started
Things to know
- This is a collection of separate example setups, not a single installable program.
- Several examples need cloud accounts such as AWS or Google Cloud, or a Kubernetes cluster.
Topics
FAQ
- What is debezium-examples?
- A collection of runnable example setups showing how to use Debezium for change data capture, with Docker Compose files, configs and tutorials. debezium-examples is a set of ready-to-run examples for Debezium, an open-source change data capture (CDC) platform that streams row-level changes from databases into event streams. Each example lives in its own folder and includes configuration files, Docker Compose setups or Kubernetes/OpenShift templates needed to try a specific scenario.
- Is debezium-examples free to use? What license does it have?
- debezium-examples is open source under the Apache-2.0 license. Check the license terms before using it in commercial products.
- Is debezium-examples still maintained?
- Actively maintained. The last commit to debezium-examples was on Nov 6, 2026.
- What can I use debezium-examples for?
- Learning how Debezium is configured for a specific database and sink before building your own pipeline. Prototyping an outbox or saga pattern in a microservices architecture. Syncing database changes into a search engine, vector store or graph database. Testing a CDC setup locally with Docker Compose before deploying to Kubernetes.
- How do I install debezium-examples?
- Open the tutorial example from the README to get started
- Where can I get debezium-examples?
- The source code and installation instructions are on GitHub: https://github.com/debezium/debezium-examples
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A collection of runnable Java quickstart projects showing how to use the Quarkus framework, each with a matching getting-started guide.
Apache Kafka is an open-source distributed event streaming platform for building high-throughput data pipelines and streaming applications.
Open-source metering and usage-based billing infrastructure that ingests usage events, enforces access limits, and generates invoices.
Open-source data movement platform for ELT pipelines, moving data from APIs, databases and files into warehouses, lakes and AI applications.
A distributed data integration tool for synchronizing large volumes of structured and unstructured data across 160+ connectors, in batch, streaming, and CDC modes.