-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxqa-query-balancer.yml
45 lines (41 loc) · 978 Bytes
/
xqa-query-balancer.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
server:
applicationConnectors:
- type: http
port: 9090
adminConnectors:
- type: http
port: 9091
database:
driverClass: org.postgresql.Driver
user: xqa
password: xqa
url: ${databaseUrl:- jdbc:postgresql://xqa-db:5432/xqa}
properties:
charSet: UTF-8
maxWaitForConnection: 5s
validationQuery: SELECT 1;
initialSize: 1
minSize: 1
maxSize: 4
checkConnectionWhileIdle: false
evictionInterval: 10s
minIdleTime: 1 minute
logging:
level: INFO
loggers:
org.apache.qpid.jms: WARN
org.apache.tomcat.jdbc: WARN
xqa: DEBUG
appenders:
- type: console
messageBroker:
host: ${messageBrokerHost:- xqa-message-broker}
port: 5672
userName: admin
password: admin
retryAttempts: 5
xqueryDestination: xqa.shard.xquery
ingestDestination: xqa.ingest
auditDestination: xqa.event
shardResponseTimeout: ${shardResponseTimeout:- 10000}
shardResponseSecondaryTimeout: ${shardResponseSecondaryTimeout:- 2000}