所以下面这个的route怎么配置呢?
s1.t1
s1.t2
s1.t3
迁移后的表名希望是:
s1_bak.t1_bak
s1_bak.t2_bak
s1_bak.t3_bak
这样配置吗?(如果您这边有更好的配置麻烦发一下哈,主要是你们文档里rootes中target-schem和target-table的配置样例太少了,只有schema-pattern和table-pattern的配置样例丰富一点)
routes:
route-rule-1:
schema-pattern: “s1”
table-pattern: “t1”
target-schema: “s1_bak”
target-table: “t1_bak”
route-rule-2:
schema-pattern: “s1”
table-pattern: “t2”
target-schema: “s1_bak”
target-table: “t2_bak”
route-rule-3:
schema-pattern: “s1”
table-pattern: “t3”
target-schema: “s1_bak”
target-table: “t3_bak”