github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/dmctl_basic/conf/diff_config.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 [task] 10 output-dir = "/tmp/ticdc_dm_test/output" 11 12 source-instances = ["mysql1", "mysql2"] 13 14 target-instance = "tidb0" 15 16 target-check-tables = ["dmctl.t_target"] 17 18 target-configs= ["config1"] 19 20 [table-configs] 21 [table-configs.config1] 22 target-tables = ["dmctl.t_target"] 23 24 [routes.rule1] 25 schema-pattern = "dmctl" 26 table-pattern = "t_?*" 27 target-schema = "dmctl" 28 target-table = "t_target" 29 30 31 [data-sources] 32 [data-sources.mysql1] 33 host = "127.0.0.1" 34 port = 3306 35 user = "root" 36 password = "123456" 37 route-rules = ["rule1"] 38 39 [data-sources.mysql2] 40 host = "127.0.0.1" 41 port = 3307 42 user = "root" 43 password = "123456" 44 route-rules = ["rule1"] 45 46 [data-sources.tidb0] 47 host = "127.0.0.1" 48 port = 4000 49 user = "test" 50 password = "123456"