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

     1  ---
     2  name: test
     3  task-mode: all
     4  is-sharding: false
     5  meta-schema: "dm_meta"
     6  # enable-heartbeat: true
     7  heartbeat-update-interval: 1
     8  heartbeat-report-interval: 1
     9  
    10  target-database:
    11    host: "127.0.0.1"
    12    port: 4000
    13    user: "root"
    14    password: ""
    15  
    16  mysql-instances:
    17    - source-id: "mysql-replica-01"
    18      black-white-list:  "instance" # compatible with deprecated config
    19      mydumper-config-name: "global"
    20      loader-config-name: "global"
    21      syncer-config-name: "global"
    22  
    23  black-white-list: # compatible with deprecated config
    24    instance:
    25      do-dbs: ["foreign_key"]
    26  
    27  mydumpers:
    28    global:
    29      threads: 4
    30      chunk-filesize: 64
    31      skip-tz-utc: true
    32      extra-args: ""
    33  
    34  loaders:
    35    global:
    36      pool-size: 16
    37      dir: "./dumped_data"
    38  
    39  syncers:
    40    global:
    41      worker-count: 16
    42      batch: 100
    43      enable-ansi-quotes: true