ソースを参照

dynamic topic 正则注释

mcy 6 年 前
コミット
690222bde8
1 ファイル変更2 行追加2 行削除
  1. 2 2
      deployer/src/main/resources/example/instance.properties

+ 2 - 2
deployer/src/main/resources/example/instance.properties

@@ -45,8 +45,8 @@ canal.instance.filter.black.regex=
 
 # mq config
 canal.mq.topic=example
-# dynamic topic route by table regex
-#canal.mq.dynamicTopic=.*,mytest\\..*,mytest2.user
+# dynamic topic route by schema or table regex
+#canal.mq.dynamicTopic=.*,mytest,mytest\\..*,mytest2.user
 canal.mq.partition=0
 # hash partition config
 #canal.mq.partitionsNum=3