github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/tiup/conf/diff_config.toml (about) 1 check-thread-count = 4 2 3 export-fix-sql = true 4 5 check-struct-only = false 6 7 [task] 8 output-dir = "/tmp/ticdc_dm_test/output" 9 10 source-instances = ["mysql1", "mysql2"] 11 12 target-instance = "tidb0" 13 14 target-check-tables = ["db_target.t_target"] 15 16 [routes.rule1] 17 schema-pattern = "sharding?" 18 table-pattern = "t?*" 19 target-schema = "db_target" 20 target-table = "t_target" 21 22 [data-sources] 23 [data-sources.mysql1] 24 host = "mysql1" 25 port = 3306 26 user = "root" 27 password = "" 28 route-rules = ["rule1"] 29 30 [data-sources.mysql2] 31 host = "mariadb2" 32 port = 3306 33 user = "root" 34 password = "" 35 route-rules = ["rule1"] 36 37 [data-sources.tidb0] 38 host = "tidb" 39 port = 4000 40 user = "root" 41 password = ""