Kafka Reasearch Project for syncing MS-SQL Database with Kafka.
./make.sh
Workflow
- use
make_local.sh
to create volume and download the necessray files for connector in the volume onlocal
server. - use
docker save xxxx > xxxx.tar
to save the images as tar files - move the saved tar files to the
RD server
- use
docker load -i xxxx.tar
to build image on theRD server
- use
cURL
command to createsource connector
on db update
orinsert
the source table's row data to trigger thesource connector
to create the target topic- use
cURL
command to createsink connector
on db - test the sync result.
Step | Operation | Desp |
---|---|---|
1 | Mount the neccessary file of JDBC Connector from volumes. | Details of dockerfile |
2 | Create containers by docker-compose up . |
Details of dockerfile |
3 | Create the target topic after building up kafka | |
4 | Create source and sink connector by http requests. | Details of connector API |
Guideline Table
Use | File | Type |
---|---|---|
Introduction of Kafka | docs/KafkaIntroduction.md | Kafka |
Common commands of Kafka | docs/KafkaShells.md | Kafka |
Topic cleanup | docs/KafkaCleanup.md | Kafka |
Kafka with CAP Theorem | doc/KafkaWithCAP.md | Kafka |
Optimization of Kafka | docs/docs/KafkaOptimization.md | Kafka |
Dockert setting of Kafka and Connectors | docs/KafkaDockerDoc.md | Kafka |
Usecase of Debezium Connector API | docs/DebeziumConnectorAPI.md | Debezium |
Setting of MSSQL's cdc | docs/SQLServerSetting.md | MS-SQL |
Spike of MSSQL's cdc performance | docs/SQLCDCPerformance.md | MS-SQL |