github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/shardddl1/conf/single-source-no-sharding.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: "test"
    11    password: '123456'
    12  
    13  mysql-instances:
    14    - source-id: "mysql-replica-01"
    15      block-allow-list:  "instance"
    16      route-rules: ["sharding-table-rules","sharding-schema-rules"]
    17      mydumper-config-name: "global"
    18      loader-config-name: "global"
    19      syncer-config-name: "global"
    20  
    21  block-allow-list:
    22    instance:
    23      do-dbs: ["shardddl1","shardddl2"]
    24  
    25  routes:
    26    sharding-table-rules:
    27      schema-pattern: "shardddl*"
    28      target-schema: "shardddl"
    29      table-pattern: "tb*"
    30      target-table: "tb"
    31    sharding-schema-rules:
    32      schema-pattern: "shardddl*"
    33      target-schema: "shardddl"
    34  
    35  mydumpers:
    36    global:
    37      threads: 4
    38      chunk-filesize: 64
    39      skip-tz-utc: true
    40      extra-args: ""
    41  
    42  loaders:
    43    global:
    44      pool-size: 16
    45      dir: "./dumped_data"
    46  
    47  syncers:
    48    global:
    49      worker-count: 10
    50      batch: 10
    51      queue-size: 100
    52      compact: true
    53      multiple-rows: true