-
Notifications
You must be signed in to change notification settings - Fork 173
/
Copy pathpolaris-server-integrationtest.yml
164 lines (131 loc) · 4.84 KB
/
polaris-server-integrationtest.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
server:
# Maximum number of threads.
maxThreads: 200
# Minimum number of thread to keep alive.
minThreads: 10
applicationConnectors:
# HTTP-specific options.
- type: http
# The port on which the HTTP server listens for service requests.
port: 8181
adminConnectors:
- type: http
port: 8182
# The hostname of the interface to which the HTTP server socket wil be found. If omitted, the
# socket will listen on all interfaces.
#bindHost: localhost
# ssl:
# keyStore: ./example.keystore
# keyStorePassword: example
#
# keyStoreType: JKS # (optional, JKS is default)
# HTTP request log settings
requestLog:
appenders:
# Settings for logging to stdout.
- type: console
# Settings for logging to a file.
- type: file
# The file to which statements will be logged.
currentLogFilename: ./logs/request.log
# When the log file rolls over, the file will be archived to requests-2012-03-15.log.gz,
# requests.log will be truncated, and new statements written to it.
archivedLogFilenamePattern: ./logs/requests-%d.log.gz
# The maximum number of log files to archive.
archivedFileCount: 14
# Enable archiving if the request log entries go to the their own file
archive: true
featureConfiguration:
ENFORCE_PRINCIPAL_CREDENTIAL_ROTATION_REQUIRED_CHECKING: true
ALLOW_WILDCARD_LOCATION: true
ALLOW_SPECIFYING_FILE_IO_IMPL: true
SKIP_CREDENTIAL_SUBSCOPING_INDIRECTION: true
ALLOW_OVERLAPPING_CATALOG_URLS: true
ALLOW_EXTERNAL_CATALOG_CREDENTIAL_VENDING: false
SUPPORTED_CATALOG_STORAGE_TYPES:
- FILE
- S3
- GCS
- AZURE
metaStoreManager:
type: in-memory
io:
factoryType: default
oauth2:
type: default
authenticator:
class: org.apache.polaris.service.auth.DefaultPolarisAuthenticator
tokenBroker:
type: symmetric-key
secret: polaris
callContextResolver:
type: default
realmContextResolver:
type: default
defaultRealm: POLARIS
cors:
allowed-origins:
- localhost
# 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:
org.apache.polaris: DEBUG
# only used to warn about the tokens endpoint being deprecated
org.apache.iceberg.rest.RESTSessionCatalog: ERROR
appenders:
- type: console
# If true, write log statements to stdout.
# enabled: true
# Do not display log statements below this threshold to stdout.
threshold: ALL
# Custom Logback PatternLayout with threadname.
logFormat: "%-5p [%d{ISO8601} - %-6r] [%t] [%X{aid}%X{sid}%X{tid}%X{wid}%X{oid}%X{srv}%X{job}%X{rid}] %c{30}: %m %kvp%n%ex"
# Settings for logging to a file.
- type: file
# If true, write log statements to a file.
# enabled: true
# Do not write log statements below this threshold to the file.
threshold: ALL
# Custom Logback PatternLayout with threadname.
logFormat: "%-5p [%d{ISO8601} - %-6r] [%t] [%X{aid}%X{sid}%X{tid}%X{wid}%X{oid}%X{srv}%X{job}%X{rid}] %c: %m %kvp%n%ex"
# when using json logging, you must use a format like this, else the
# mdc section of the json log will be incorrect
# logFormat: "%-5p [%d{ISO8601} - %-6r] [%t] [%X] %c: %m%n%ex"
# The file to which statements will be logged.
currentLogFilename: ./logs/iceberg-rest.log
# When the log file rolls over, the file will be archived to polaris-2012-03-15.log.gz,
# polaris.log will be truncated, and new statements written to it.
archivedLogFilenamePattern: ./logs/iceberg-rest-%d.log.gz
# The maximum number of log files to archive.
archivedFileCount: 14
# Limits the size of request bodies sent to Polaris. -1 means no limit.
maxRequestBodyBytes: 1000000
# Limits the request rate per realm.
rateLimiter:
type: realm-token-bucket
# The token bucket factory to use when using the realm-token-bucket rate limiter.
tokenBucketFactory:
type: default
requestsPerSecond: 9999
windowSeconds: 10