Debezium系列之:优化Debezium使用方式,更新Debezium connector配置,不重启Debezium connector
一、背景
- 当Debezium接入的数据库长时间无数据更新,更新debezium connector配置的时候,重启Debezium connector,会导致debezium connctor因为找不到对应的binlog文件而挂掉
- 因此优化Debezium使用方式,更新Debezium connector配置,不重启Debezium connector
二、提交Debezium connector
curl -u debezium:4fsfaesfa 'http://debezium-001:8083/connectors' -X POST -i -H "Content-Type:application/json" -d
'{
"name": "mysql-optics-order-connector",
"config": {
"connector.class": "io.debezium.connec