-
Notifications
You must be signed in to change notification settings - Fork 970
/
application.yml
132 lines (118 loc) · 3.37 KB
/
application.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
#
# 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
#
# https://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:
port: 10000
undertow:
buffer-size: 1024
direct-buffers: true
threads:
io: 4
worker: 20
logging:
level:
root: info
swagger:
enable: true
knife4j:
enable: true
basic:
# basic authentication, used to access swagger-ui and doc
enable: false
username: admin
password: streampark
spring:
profiles.active: h2 #[h2,pgsql,mysql]
application.name: StreamPark
devtools.restart.enabled: false
mvc.pathmatch.matching-strategy: ant_path_matcher
servlet:
multipart:
enabled: true
max-file-size: 500MB
max-request-size: 500MB
aop.proxy-target-class: true
messages.encoding: utf-8
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
main:
allow-circular-references: true
banner-mode: off
management:
endpoints:
web:
exposure:
include: [ 'health', 'httptrace', 'metrics' ]
endpoint:
health:
enabled: true
show-details: always
probes:
enabled: true
streampark:
proxy:
# knox process address https://cdpsit02.example.cn:8443/gateway/cdp-proxy/yarn
yarn-url:
yarn:
# default sample, or kerberos
http-auth: sample
# HADOOP_USER_NAME
hadoop-user-name: hdfs
# local workspace, used to store source code and build dir etc.
workspace:
local: /opt/streampark_workspace
remote: hdfs://hdfscluster/streampark # support hdfs:///streampark/ 、 /streampark 、hdfs://host:ip/streampark/
# remote docker register namespace for streampark
docker:
# instantiating DockerHttpClient
http-client:
max-connections: 10000
connection-timeout-sec: 10000
response-timeout-sec: 12000
# flink-k8s tracking configuration
flink-k8s:
tracking:
silent-state-keep-sec: 10
polling-task-timeout-sec:
job-status: 120
cluster-metric: 120
polling-interval-sec:
job-status: 2
cluster-metric: 3
# packer garbage resources collection configuration
packer-gc:
# maximum retention time for temporary build resources
max-resource-expired-hours: 120
# gc task running interval hours
exec-cron: 0 0 0/6 * * ?
shiro:
# token timeout, unit second
jwtTimeOut: 86400
# backend authentication-free resources url
anonUrl: >
ldap:
## AD server IP, default port 389
urls: ldap://99.99.99.99:389
## Login Account
base-dn: dc=streampark,dc=com
username: cn=Manager,dc=streampark,dc=com
password: streampark
user:
identity-attribute: uid
email-attribute: mail
# action when ldap user is not exist (supported types: CREATE,DENY)
not-exist-action: CREATE