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