github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/all_mode/conf/regexpr_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 = ["dtest2.dtable2", "dtest4.dtable4"]
    17  
    18  
    19  [routes.rule1]
    20      schema-pattern = "test2animal"
    21      table-pattern = "tbl_animal_dogcat"
    22      target-schema = "dtest2"
    23      target-table = "dtable2"
    24  [routes.rule2]
    25      schema-pattern = "test4s_*"
    26      table-pattern = "testtable_donot_delete"
    27      target-schema = "dtest4"
    28      target-table = "dtable4"
    29  
    30  [data-sources]
    31  [data-sources.mysql1]
    32  host = "127.0.0.1"
    33  port = 3306
    34  user = "root"
    35  password = "123456"
    36  route-rules = ["rule1"]
    37  
    38  [data-sources.mysql2]
    39  host = "127.0.0.1"
    40  port = 3307
    41  user = "root"
    42  password = "123456"
    43  route-rules = ["rule2"]
    44  
    45  [data-sources.tidb0]
    46  host = "127.0.0.1"
    47  port = 4000
    48  user = "test"
    49  password = "123456"