-
Install Docker.
-
Start all services:
docker compose up --build -d
To stop:
docker-compose down -v
-
The PostgreSQL service will be initialized with a
productstable and CDC publication already enabled. -
For running Kafka Consumer locally
cd app pip install --force-reinstall -r requirements.txt uvicorn main:app
- The Kafka topic streaming the changes is
dbserver1.public.products. - You can use Kafka CLI tools or the Control Center to monitor the topic.
- For production use, make sure passwords and configurations are properly secured.