github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/online_ddl/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 = ["online_ddl.gho_t_target", "online_ddl.pt_t_target"] 17 18 target-configs= ["config1"] 19 20 [routes.rule1] 21 schema-pattern = "online_ddl" 22 table-pattern = "gho_t?*" 23 target-schema = "online_ddl" 24 target-table = "gho_t_target" 25 26 [routes.rule2] 27 schema-pattern = "online_ddl" 28 table-pattern = "pt_t?*" 29 target-schema = "online_ddl" 30 target-table = "pt_t_target" 31 32 [table-configs] 33 [table-configs.config1] 34 target-tables = ["online_ddl.*"] 35 36 [data-sources] 37 [data-sources.mysql1] 38 host = "127.0.0.1" 39 port = 3306 40 user = "root" 41 password = "123456" 42 route-rules = ["rule1", "rule2"] 43 44 [data-sources.mysql2] 45 host = "127.0.0.1" 46 port = 3307 47 user = "root" 48 password = "123456" 49 route-rules = ["rule1", "rule2"] 50 51 [data-sources.tidb0] 52 host = "127.0.0.1" 53 port = 4000 54 user = "test" 55 password = "123456"