-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathuldra-config.yml
More file actions
33 lines (30 loc) · 822 Bytes
/
Copy pathuldra-config.yml
File metadata and controls
33 lines (30 loc) · 822 Bytes
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
workerCount: 16
wokerQueueSize: 5000
binlogServer: 127.0.0.1:3306
binlogServerID: 5
binlogServerUsername: repl
binlogServerPassword: repl
binlogInfoFile: "binlog.info"
binlogPolicies:
- name: origin.s_user
groupKey: userid
replicatPolicies:
- name: "t_user"
- name: origin.s_user_status
groupKey: userid
replicatPolicies:
- name: "t_user_status"
dataSources:
- !!org.apache.commons.dbcp2.BasicDataSource
url: jdbc:mysql://127.0.0.1:3306/target?autoReconnect=true&useSSL=false&sessionVariables=SQL_MODE='NO_AUTO_VALUE_ON_ZERO'
username: target
password: target
maxTotal: 30
maxWaitMillis: 100
validationQuery: SELECT 1
testOnBorrow: false
testOnReturn: false
testWhileIdle: true
timeBetweenEvictionRunsMillis: 60000
minEvictableIdleTimeMillis : 1200000
numTestsPerEvictionRun : 10