This project sets up a Kafka Connect environment with Debezium to capture change data (CDC) from a MySQL database and publish it to Kafka topics in real-time. Using Docker Compose, this project configures all necessary services, including Kafka, Debezium Connect, MySQL, and auxiliary services for topic management.
docker-compose.yml
: Defines services for Kafka, MySQL, Debezium Connect, and topic management.connector_config.json
: Configuration file for the Debezium MySQL connector.kafka-connect/Dockerfile
Kafka Connect image with MySQL Debezium connector installed.init_db.sql
: Initialized the database with a customer table and some valueslog4j.properties
: PropertiesREADME.md
: Project documentation.
git clone https://github.com/ConSol/debezium-quick-start
cd debezium-quick-start
docker compose up