github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/shardddl4_1/conf/single-source-strict-optimistic.yaml (about)

     1  ---
     2  name: test
     3  task-mode: all
     4  is-sharding: true
     5  shard-mode: "optimistic"
     6  strict-optimistic-shard-mode: true
     7  meta-schema: "dm_meta"
     8  
     9  target-database:
    10    host: "127.0.0.1"
    11    port: 4000
    12    user: "test"
    13    password: '123456'
    14  
    15  mysql-instances:
    16    - source-id: "mysql-replica-01"
    17      block-allow-list:  "instance"
    18      route-rules: ["sharding-table-rules","sharding-schema-rules"]
    19      mydumper-config-name: "global"
    20      loader-config-name: "global"
    21      syncer-config-name: "global"
    22  
    23  block-allow-list:
    24    instance:
    25      do-dbs: ["shardddl1","shardddl2"]
    26  
    27  routes:
    28    sharding-table-rules:
    29      schema-pattern: "shardddl*"
    30      target-schema: "shardddl"
    31      table-pattern: "tb*"
    32      target-table: "tb"
    33    sharding-schema-rules:
    34      schema-pattern: "shardddl*"
    35      target-schema: "shardddl"
    36  
    37  mydumpers:
    38    global:
    39      threads: 4
    40      chunk-filesize: 64
    41      skip-tz-utc: true
    42      extra-args: ""
    43  
    44  loaders:
    45    global:
    46      pool-size: 16
    47      dir: "./dumped_data"
    48  
    49  syncers:
    50    global:
    51      worker-count: 16
    52      batch: 100