github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/full_mode/conf/dm-task-2.yaml (about)

     1  ---
     2  name: test
     3  task-mode: full
     4  is-sharding: false
     5  meta-schema: "dm_meta"
     6  
     7  target-database:
     8    host: "127.0.0.1"
     9    port: 4000
    10    user: "root"
    11    password: ""
    12  
    13  mysql-instances:
    14    - source-id: "mysql-replica-01"
    15      black-white-list: "instance" # compatible with deprecated config
    16      mydumper-config-name: "global"
    17      loader-config-name: "global"
    18      syncer-config-name: "global"
    19      route-rules: ["route-rule-1"]
    20  
    21  block-allow-list: # compatible with deprecated config
    22    instance:
    23      do-dbs: ["full_mode"]
    24  
    25  mydumpers:
    26    global:
    27      threads: 10
    28  
    29  loaders:
    30    global:
    31      pool-size: 10
    32      dir: "./dumped_data"
    33  
    34  syncers:
    35    global:
    36      worker-count: 16
    37      batch: 100
    38  
    39  routes:
    40    route-rule-1:
    41      schema-pattern: "full_mode"
    42      target-schema: "full_mode_test"