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