-
Notifications
You must be signed in to change notification settings - Fork 156
/
gateway-ha-config.yml
59 lines (49 loc) · 1.37 KB
/
gateway-ha-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
55
56
57
58
59
routingRules:
rulesEngineEnabled: False
# rulesConfigPath: "src/main/resources/rules/routing_rules.yml"
requestRouter:
port: 8080
name: prestoRouter
historySize: 1000
dataStore:
jdbcUrl: jdbc:mysql://127.0.0.1:3306/prestogateway
user: root
password: root123
driver: com.mysql.cj.jdbc.Driver
server:
applicationConnectors:
- type: http
port: 8090
adminConnectors:
- type: http
port: 8091
notifier:
smtpHost: localhost
smtpPort: 587
sender: [email protected]
recipients:
# This can be adjusted based on the coordinator state
monitor:
connectionTimeout: 15
modules:
- com.lyft.data.gateway.ha.module.HaGatewayProviderModule
- com.lyft.data.gateway.ha.module.ClusterStateListenerModule
managedApps:
- com.lyft.data.gateway.ha.GatewayManagedApp
- com.lyft.data.gateway.ha.clustermonitor.ActiveClusterMonitor
# Logging settings.
logging:
# The default level of all loggers. Can be OFF, ERROR, WARN, INFO, DEBUG, TRACE, or ALL.
level: INFO
# Logger-specific levels.
loggers:
com.lyft: DEBUG
appenders:
- type: console
- type: file
currentLogFilename: /var/log/prestoproxy/prestoproxy-java.log
archivedLogFilenamePattern: /var/log/prestoproxy/prestoproxy-java-%d{yyyy-MM-dd}-%i.log.gz
archivedFileCount: 7
timeZone: UTC
maxFileSize: 100MB