-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
54 lines (50 loc) · 1.25 KB
/
config.yml
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
logging:
level: INFO
loggers:
com.thrive: DEBUG
server:
applicationConnectors:
- type: http
port: 8080
shards:
shards:
- driverClass: org.mariadb.jdbc.Driver
user: admin
password:
url: jdbc:mariadb://localhost:3306/stock_broking_shard_1?createDatabaseIfNotExist=true
minSize: 2
maxSize : 2
properties:
charSet: UTF-8
hibernate.dialect: org.hibernate.dialect.MySQLDialect
- driverClass: org.mariadb.jdbc.Driver
user: admin
password:
url: jdbc:mariadb://localhost:3306/stock_broking_shard_2?createDatabaseIfNotExist=true
minSize: 2
maxSize: 2
properties:
charSet: UTF-8
hibernate.dialect: org.hibernate.dialect.MySQLDialect
caches:
mapConfig:
USER:
ttl : 100
ttlType : SECONDS
redis:
singleServerConfig:
idleConnectionTimeout: 10000
connectTimeout: 10000
timeout: 3000
retryAttempts: 3
retryInterval: 1500
password: null
subscriptionsPerConnection: 5
clientName: null
address: "redis://127.0.0.1:6379"
subscriptionConnectionMinimumIdleSize: 1
subscriptionConnectionPoolSize: 50
connectionMinimumIdleSize: 2
connectionPoolSize: 2
database: 0
dnsMonitoringInterval: 5000