This repository provides a Spring Boot application that demonstrates Change Data Capture (CDC) using Debezium with MongoDB and MySQL databases. It showcases how to capture and process real-time database changes using Debezium connectors in a Spring Boot application.
Before running the application, ensure you have the following software installed:
- Java Development Kit (JDK) 11 or higher
- Apache Maven
- Docker and Docker Compose
- Clone the repository
- Navigate to the project directory
- create custom mongo docker
docker build -t mongoex:1.0 .
4.Start the MongoDB and MySQL containers using Docker Compose:
docker-compose up -d
5.Run the application 6.Run connectors command
sh connectionCommand.sh