github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/metrics/conf/dm-task.yaml (about) 1 --- 2 name: test 3 task-mode: all 4 is-sharding: false 5 meta-schema: "dm_meta" 6 heartbeat-update-interval: 1 7 heartbeat-report-interval: 1 8 9 target-database: 10 host: "127.0.0.1" 11 port: 4000 12 user: "root" 13 password: "" 14 15 mysql-instances: 16 - source-id: "mysql-replica-01" 17 black-white-list: "instance" # compatible with deprecated config 18 mydumper-config-name: "global" 19 loader-config-name: "global" 20 syncer-config-name: "global" 21 22 - source-id: "mysql-replica-02" 23 block-allow-list: "instance" 24 mydumper-config-name: "global" 25 loader-config-name: "global" 26 syncer-config-name: "global" 27 28 black-white-list: # compatible with deprecated config 29 instance: 30 do-dbs: ["metrics"] 31 32 mydumpers: 33 global: 34 threads: 4 35 chunk-filesize: 64 36 skip-tz-utc: true 37 extra-args: "" 38 39 loaders: 40 global: 41 pool-size: 16 42 dir: "./dumped_data" 43 44 syncers: 45 global: 46 worker-count: 1 47 batch: 1