To run this workshop you need several tools installed:
- The Docker Engine
- The Docker Compose
# start all services defined in the docker-compose.yaml
docker-compose -f docker-compose.yaml upLinux / macOS (bash):
docker-compose -f docker-compose.yaml exec postgres env PGOPTIONS="--search_path=campaigns" bash -c 'psql -U $POSTGRES_USER postgres'Linux / macOS (bash):
docker-compose -f docker-compose.yaml exec kafka /kafka/bin/kafka-console-consumer.sh \
--bootstrap-server kafka:9092 \
--from-beginning \
--property print.key=true \
--topic dbserver1.campaigns.customersWindows (PowerShell):
docker-compose -f docker-compose.yaml exec kafka /kafka/bin/kafka-console-consumer.sh `
--bootstrap-server kafka:9092 `
--from-beginning `
--property print.key=true `
--topic dbserver1.campaigns.customersdocker-compose -f docker-compose.yaml exec kafka /kafka/bin/kafka-topics.sh --bootstrap-server=kafka:9092 --listLinux / macOS (bash):
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @connector-config.jsonWindows (PowerShell):
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @connector-config.jsonLinux / macOS (bash):
curl -i -X GET -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/Windows (PowerShell):
curl -i -X GET -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/- DB diagram
- Add connector curl command + Powershell?
For the workshop we used the config files and images from the Debezium Team Repositories. Cheers!