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