github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/dm_syncer/conf/diff_config_route_rules.toml (about) 1 # diff Configuration. 2 3 check-thread-count = 4 4 5 export-fix-sql = true 6 7 check-struct-only = false 8 9 10 [task] 11 output-dir = "/tmp/ticdc_dm_test/output" 12 13 source-instances = ["mysql1"] 14 15 target-instance = "tidb0" 16 17 target-check-tables = ["dm_syncer.dm_syncer_route_rule"] 18 19 [routes.rule1] 20 schema-pattern = "dm_syncer" 21 table-pattern = "dm_syncer_route_rules_*" 22 target-schema = "dm_syncer" 23 target-table = "dm_syncer_route_rule" 24 25 [data-sources] 26 [data-sources.mysql1] 27 host = "127.0.0.1" 28 port = 3307 29 user = "root" 30 password = "123456" 31 route-rules = ["rule1"] 32 33 [data-sources.tidb0] 34 host = "127.0.0.1" 35 port = 4000 36 user = "test" 37 password = "123456"