diff --git a/FAQ.md b/FAQ.md index e2270dd..2e4d0b5 100644 --- a/FAQ.md +++ b/FAQ.md @@ -25,7 +25,12 @@ ``` 2. 检查binlog格式,过滤条件只针对row模式的数据有效(ps. mixed/statement因为不解析sql,所以无法准确提取tableName进行过滤) 3. 检查下CanalConnector是否调用subscribe(filter)方法;有的话,filter需要和instance.properties的canal.instance.filter.regex一致,否则subscribe的filter会覆盖instance的配置,如果subscribe的filter是.\*\\..\*,那么相当于你消费了所有的更新数据 【特别注意】 -4. 检查一下[历史的issue列表](https://github.com/alibaba/canal/issues?utf8=%E2%9C%93&q=subscribe),很有可能你的提问别人已经遇到过并解决了,比如表达式不对,特别是双斜杠的问题 +4. canal 1.1.3+版本之后,会在日志里记录最后使用的filter条件 + ```plain + c.a.o.canal.parse.inbound.mysql.dbsync.LogEventConvert - --> init table filter : ^.*\..*$ + c.a.o.canal.parse.inbound.mysql.dbsync.LogEventConvert - --> init table black filter : + ``` +5. 检查一下[历史的issue列表](https://github.com/alibaba/canal/issues?utf8=%E2%9C%93&q=subscribe),很有可能你的提问别人已经遇到过并解决了,比如表达式不对,特别是双斜杠的问题 ---