forked from trinodb/trino-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gateway-ha-config-docker.yml
56 lines (46 loc) · 1.22 KB
/
gateway-ha-config-docker.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
routingRules:
rulesEngineEnabled: False
# rulesConfigPath: "src/main/resources/rules/routing_rules.yml"
requestRouter:
port: 8080
name: trinoRouter
historySize: 1000
requestBufferSize: 8192
dataStore:
jdbcUrl: jdbc:postgresql://postgres:5432/trino_gateway_db
user: trino_gateway_db_admin
password: P0stG&es
driver: org.postgresql.Driver
queryHistoryHoursRetention: 24
backendState:
username: lb_query
ssl: false
clusterStatsConfiguration:
useApi: true
server:
applicationConnectors:
- type: http
port: 8090
useForwardedHeaders: true
adminConnectors:
- type: http
port: 8091
useForwardedHeaders: true
modules:
- io.trino.gateway.ha.module.HaGatewayProviderModule
- io.trino.gateway.ha.module.ClusterStateListenerModule
- io.trino.gateway.ha.module.ClusterStatsMonitorModule
managedApps:
- io.trino.gateway.ha.GatewayManagedApp
- io.trino.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:
io.trino: DEBUG
appenders:
- type: console
filterFactories:
- type: Log-filter-factory