github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/tiup/conf/diff_config_optimistic.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 = ["opt_db_target.t_target"] 15 [routes.rule1] 16 schema-pattern = "opt_sharding*" 17 table-pattern = "t?*" 18 target-schema = "opt_db_target" 19 target-table = "t_target" 20 21 [data-sources] 22 [data-sources.mysql1] 23 host = "mysql1" 24 port = 3306 25 user = "root" 26 password = "" 27 route-rules = ["rule1"] 28 29 [data-sources.mysql2] 30 host = "mariadb2" 31 port = 3306 32 user = "root" 33 password = "" 34 route-rules = ["rule1"] 35 36 [data-sources.tidb0] 37 host = "tidb" 38 port = 4000 39 user = "root" 40 password = ""