| # |
| # 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 |
| docker-host: "" |
| |
| # 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 |