github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/incremental_mode/conf/dm-task.yaml (about) 1 --- 2 name: test 3 task-mode: incremental 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 17 mysql-instances: 18 - source-id: "mysql-replica-01" 19 meta: 20 binlog-gtid: binlog-gtid-placeholder-1 21 block-allow-list: "instance" 22 mydumper-config-name: "global" 23 loader-config-name: "global" 24 syncer-config-name: "global" 25 filter-rules: ["filter-01"] 26 27 - source-id: "mysql-replica-02" 28 meta: 29 binlog-name: binlog-name-placeholder-2 30 binlog-pos: binlog-pos-placeholder-2 31 block-allow-list: "instance" 32 mydumper-config-name: "global" 33 loader-config-name: "global" 34 syncer-config-name: "global" 35 filter-rules: ["filter-01"] 36 37 block-allow-list: 38 instance: 39 do-dbs: ["incremental_mode"] 40 41 mydumpers: 42 global: 43 threads: 4 44 chunk-filesize: 64 45 skip-tz-utc: true 46 extra-args: "" 47 48 loaders: 49 global: 50 pool-size: 16 51 dir: "./dumped_data" 52 53 syncers: 54 global: 55 worker-count: 16 56 batch: 100 57 58 filters: 59 filter-01: 60 schema-pattern: "incremental_mode" 61 table-pattern: "*" 62 events: ["drop database"] 63 sql-pattern: [] 64 action: Ignore