github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/shardddl1/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 = ["shardddl.tb"]
    17  
    18  [routes.rule1]
    19  schema-pattern = "shardddl[1-2]"
    20  table-pattern = "tb*"
    21  target-schema = "shardddl"
    22  target-table = "tb"
    23  
    24      
    25  [data-sources]
    26  [data-sources.mysql1]
    27  host = "127.0.0.1"
    28  port = 3306
    29  user = "root"
    30  password = "123456"
    31  route-rules = ["rule1"]
    32  
    33  [data-sources.mysql2]
    34  host = "127.0.0.1"
    35  port = 3307
    36  user = "root"
    37  password = "123456"
    38  route-rules = ["rule1"]
    39  
    40  [data-sources.tidb0]
    41  host = "127.0.0.1"
    42  port = 4000
    43  user = "test"
    44  password = "123456"