- Docker
- Docker Compose
-
Start the Docker Containers:
sudo docker-compose up
-
Run Kafka Console Consumer:
bin/kafka-console-consumer.sh --bootstrap-server kafka:9092 --topic server1.Naveed.dbo.Table1 --from-beginning
-
Enter the Kafka Container:
docker exec -it oman_ai_project-kafka-1 /bin/bash
-
Validate SqlServerConnector Configuration:
sudo curl -i -X PUT -H "Accept:application/json" -H "Content-Type:application/json" localhost:8083/connector-plugins/io.debezium.connector.sqlserver.SqlServerConnector/config/validate -d @payload.json
-
POST Request to Connectors:
sudo curl -H "Accept:application/json" -H "Content-Type:application/json" -X POST -d @payload1.json http://localhost:8083/connectors
-
GET Request to Check Connectors:
curl -X GET http://localhost:8083/connectors