/CDC-demo

demo on both canal and debezium

MIT LicenseMIT

CDC Demos

Canal Demo

cd canal
docker-compose up -d

Debezium Demo

cd debezium
docker-compose up -d
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @connect.json

Comparison Between Debezium And Canal

Debezium Canal
Open Source Y Y
Language Java Java
Website debezium.io NA
Sponsor Company RedHat Alibaba
License Apache 2.0 Apache 2.0
Initial Date Mar 18, 2016 Sep 23, 2014
Latest Stable Version v0.9.5.Final (May 2, 2019) v1.1.3 (Apr 4, 2019)
Support Database MySQL, MongoDB, PostgreSQL
Preview: Oracle, SQL Server
MySQL
Support Aurora Y Not Mention
Support Kafka as Broker Y Y
Message Serialize Protobuf Protobuf
Performance TPS 174k/sec (pg with a protobuf converter) TPS 60w ~ 200w (binlog only)
Monitor JMX Prometheus Metrics Prometheus Metrics