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
|
{
"version": "1.5.0",
"source": [
{
"alias": "S1",
"name": "O112A",
"reader": {
"type": "online",
"user": "用户名",
"password": "密码",
"server": "//IP:port/实例名",
"disable-checks": 1
},
"format": {
"type": "json"
},
"state": {
"type": "disk",
"path": "/opt/OpenLogReplicator/checkpoint"
},
"filter": {
"table": [
{"owner": "TEST", "table": ".*"}
]
},
"memory": {
"min-mb": 64,
"max-mb": 1024
}
}
],
"target": [
{
"alias": "K1",
"source": "S1",
"writer": {
"type": "file",
"output": "/open_log/OpenLogReplicator/build/output/output-%t.json",
"new-line": 1,
"max-file-size": 1073741824,
"append": 0
}
}
]
}
|