github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/duplicate_event/conf/diff_relay_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"]
    13  
    14      target-instance = "tidb0"
    15  
    16      target-check-tables = ["dup_event_relay.t1"]
    17  
    18  [routes.rule1]
    19  schema-pattern = "dup_event"
    20  table-pattern = "t1"
    21  target-schema = "dup_event_relay"
    22  target-table = "t1"
    23  
    24  [data-sources]
    25  [data-sources.mysql1]
    26  host = "127.0.0.1"
    27  port = 3307
    28  user = "root"
    29  password = "123456"
    30  route-rules = ["rule1"]
    31  
    32  [data-sources.tidb0]
    33  host = "127.0.0.1"
    34  port = 4000
    35  user = "test"
    36  password = "123456"