github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/all_mode/conf/regexpr-task-lightning.yaml (about) 1 --- 2 name: regexprtest-lightning 3 task-mode: all 4 is-sharding: false 5 meta-schema: "dm_meta" 6 timezone: "+04:00" 7 # enable-heartbeat: true 8 heartbeat-update-interval: 1 9 heartbeat-report-interval: 1 10 11 target-database: 12 host: "127.0.0.1" 13 port: 4000 14 user: "root" 15 password: "" 16 session: 17 tidb_skip_utf8_check: 1 18 tidb_disable_txn_auto_retry: off 19 tidb_retry_limit: "10" 20 21 mysql-instances: 22 - source-id: "mysql-replica-01" 23 route-rules: ["rule1"] 24 block-allow-list: "balist1" 25 - source-id: "mysql-replica-02" 26 route-rules: ["rule2"] 27 block-allow-list: "balist1" 28 29 routes: 30 rule1: 31 schema-pattern: "~test2?[animal|human]" 32 table-pattern: "~tbl.*[cat|dog]+" 33 target-schema: "dtest2" 34 target-table: "dtable2" 35 rule2: 36 schema-pattern: "test4s_*" 37 table-pattern: "~testtable_[donot_delete]?" 38 target-schema: "dtest4" 39 target-table: "dtable4" 40 41 block-allow-list: 42 balist1: 43 do-dbs: ["~test2?[animal|human]", "test4s_*"]