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