+
Skip to content

Conversation

suman-lee
Copy link
Contributor

实际数据同步过程中只需要对部分表按照dml操作过滤,其它的表不需要过滤。去除了以下配置来对dml操作进行一刀切方式的过滤。
canal.instance.filter.dml.insert = false
canal.instance.filter.dml.update = false
canal.instance.filter.dml.delete = false
新增以下配置来进行表名匹配的方式进行DML操作过滤:

table regex for insert-dml

canal.instance.filter.dml.insert.regex =

table regex for update-dml

canal.instance.filter.dml.update.regex =

table regex for delete-dml

canal.instance.filter.dml.delete.regex =

@agapple
Copy link
Member

agapple commented Dec 23, 2022

改动需要考虑兼容性,继续保留canal.instance.filter.dml.insert/update/delete的相关参数,如果有设置regex则优先级更高

做一下老版本参数兼容后,可以考虑合并MR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载