github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/tracker_ignored_ddl/conf/dm-task.yaml (about) 1 --- 2 name: test 3 task-mode: all 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 filter-rules: ["user-filter-1"] 20 21 black-white-list: # compatible with deprecated config 22 instance: 23 do-dbs: ["tracker_ignored_ddl"] 24 25 filters: # filter rules, mysql instance can ref rules in it 26 user-filter-1: 27 schema-pattern: "*" # pattern of the upstream schema name, wildcard characters (*?) are supported 28 table-pattern: "*" # pattern of the upstream table name, wildcard characters (*?) are supported 29 events: ["alter table"] # ignore alter table ddl 30 action: Ignore 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: 16 47 batch: 100 48 enable-ansi-quotes: false # compatible with deprecated config 49 checkpoint-flush-interval: 1