This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 188
/
Copy pathtask.yaml
109 lines (109 loc) · 2.2 KB
/
task.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
name: test
task-mode: all
is-sharding: false
shard-mode: ""
ignore-checking-items: []
meta-schema: dm_meta
enable-heartbeat: true
heartbeat-update-interval: 1
heartbeat-report-interval: 1
timezone: Asia/Shanghai
case-sensitive: false
target-database:
host: 127.0.0.1
port: 4000
user: root
password: ""
max-allowed-packet: 67108864
session:
tidb_disable_txn_auto_retry: "off"
tidb_retry_limit: "10"
tidb_skip_utf8_check: "1"
security: null
mysql-instances:
- source-id: mysql-replica-01
meta: null
filter-rules: []
column-mapping-rules: []
route-rules: []
black-white-list: ""
block-allow-list: balist-01
mydumper-config-name: dump-01
mydumper: null
mydumper-thread: 0
loader-config-name: load-01
loader: null
loader-thread: 0
syncer-config-name: sync-01
syncer: null
syncer-thread: 0
- source-id: mysql-replica-02
meta: null
filter-rules: []
column-mapping-rules: []
route-rules: []
black-white-list: ""
block-allow-list: balist-01
mydumper-config-name: dump-01
mydumper: null
mydumper-thread: 0
loader-config-name: load-01
loader: null
loader-thread: 0
syncer-config-name: sync-02
syncer: null
syncer-thread: 0
online-ddl-scheme: ""
routes: {}
filters: {}
column-mappings: {}
black-white-list: {}
block-allow-list:
balist-01:
do-tables: []
do-dbs:
- import_v10x
ignore-tables: []
ignore-dbs: []
mydumpers:
dump-01:
mydumper-path: ./bin/mydumper
threads: 4
chunk-filesize: "64"
statement-size: 0
rows: 0
where: ""
skip-tz-utc: true
extra-args: ""
loaders:
load-01:
pool-size: 16
dir: ./dumped_data.test
syncers:
sync-01:
meta-file: ""
worker-count: 16
batch: 100
queue-size: 1024
checkpoint-flush-interval: 30
max-retry: 0
auto-fix-gtid: false
enable-gtid: false
disable-detect: false
safe-mode: false
enable-ansi-quotes: false
sync-02:
meta-file: ""
worker-count: 16
batch: 100
queue-size: 1024
checkpoint-flush-interval: 30
max-retry: 0
auto-fix-gtid: false
enable-gtid: true
disable-detect: false
safe-mode: false
enable-ansi-quotes: false
clean-dump-file: false
ansi-quotes: false
remove-meta: false