This is an automated email from the ASF dual-hosted git repository.

benjobs pushed a commit to branch conf
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/conf by this push:
     new 395c7184f [Improve] minor improvements
395c7184f is described below

commit 395c7184f32f505a2fcaf77749a699c7c626c3c0
Author: benjobs <[email protected]>
AuthorDate: Sat Mar 30 14:06:50 2024 +0800

    [Improve] minor improvements
---
 .../src/main/assembly/assembly.xml                 |  4 +---
 .../src/main/resources/config.yaml                 | 24 +++++++++++++-------
 .../src/main/resources/kerberos.yml                | 26 ----------------------
 3 files changed, 17 insertions(+), 37 deletions(-)

diff --git 
a/streampark-console/streampark-console-service/src/main/assembly/assembly.xml 
b/streampark-console/streampark-console-service/src/main/assembly/assembly.xml
index 92c73dac4..9ea025f29 100644
--- 
a/streampark-console/streampark-console-service/src/main/assembly/assembly.xml
+++ 
b/streampark-console/streampark-console-service/src/main/assembly/assembly.xml
@@ -95,9 +95,7 @@
             <lineEnding>unix</lineEnding>
             <fileMode>0755</fileMode>
             <includes>
-                <include>*.yml</include>
-                <include>*.properties</include>
-                <include>logback*.xml</include>
+                <include>config.yaml</include>
             </includes>
         </fileSet>
         <fileSet>
diff --git 
a/streampark-console/streampark-console-service/src/main/resources/config.yaml 
b/streampark-console/streampark-console-service/src/main/resources/config.yaml
index 6a2995a21..36e64fdab 100644
--- 
a/streampark-console/streampark-console-service/src/main/resources/config.yaml
+++ 
b/streampark-console/streampark-console-service/src/main/resources/config.yaml
@@ -19,16 +19,24 @@
 logging.level.root: info
 # server port
 server.port: 10000
+# The user's login session has a validity period. If it exceeds this time, the 
user will be automatically logout
+# unit: s|m|h|d, s: second, m:minute, h:hour, d: day
+server.session.ttl: 2h # unit[s|m|h|d], e.g: 24h, 2d....
+
 # see: 
https://github.com/undertow-io/undertow/blob/master/core/src/main/java/io/undertow/Undertow.java
-server.undertow.io-threads: 16
+server.undertow.buffer-size: 1024
+server.undertow.direct-buffers: 1024
+server.undertow.threads.io: 16
+server.undertow.threads.worker: 256
 
 # system database, default h2, mysql|pgsql|h2
-datasource.dialect: h2 # h2, pgsql
-# if datasource.dialect is mysql or pgsql, it is necessary to set...
+datasource.dialect: mysql # h2, pgsql
+#-------if datasource.dialect is mysql or pgsql, it is necessary to set-------
 datasource.username: root
 datasource.password: streampark
 # datasource.url: 
jdbc:postgresql://localhost:5432/streampark?stringtype=unspecified
 datasource.url: 
jdbc:mysql://localhost:3306/streampark?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
+#---------------------------------------------------------------------------------
 
 # Directory for storing locally built project
 streampark.workspace.local: /tmp/streampark
@@ -39,17 +47,17 @@ streampark.workspace.remote: hdfs:///streampark/
 streampark.proxy.yarn-url:
 # lark proxy address, default https://open.feishu.cn
 streampark.proxy.lark-url:
-# flink on k8s ingress setting, If an ingress controller is specified in the 
configuration, the ingress class
-#  kubernetes.io/ingress.class must be specified when creating the ingress, 
since there are often
-#  multiple ingress controllers in a production environment.
-streampark.k8s.ingress.class: nginx
 # flink on yarn or spark on yarn, monitoring job status from yarn, it is 
necessary to set hadoop.http.authentication.type
 streampark.yarn.http-auth: simple  # default simple, or kerberos
 # flink on yarn or spark on yarn, it is necessary to set
 streampark.hadoop-user-name: hdfs
+# flink on k8s ingress setting, If an ingress controller is specified in the 
configuration, the ingress class
+#  kubernetes.io/ingress.class must be specified when creating the ingress, 
since there are often
+#  multiple ingress controllers in a production environment.
+streampark.flink-k8s.ingress.class: nginx
 
 # sign streampark with ldap.
-ldap.enable: false  # Is ldap enabled? If so, please modify the urls
+ldap.enable: false  # ldap enabled
 ldap.urls: ldap://99.99.99.99:389 #AD server IP, default port 389
 ldap.base-dn: dc=streampark,dc=com  # Login Account
 ldap.username: cn=Manager,dc=streampark,dc=com
diff --git 
a/streampark-console/streampark-console-service/src/main/resources/kerberos.yml 
b/streampark-console/streampark-console-service/src/main/resources/kerberos.yml
deleted file mode 100644
index b8199054b..000000000
--- 
a/streampark-console/streampark-console-service/src/main/resources/kerberos.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# 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.
-#
-
-security:
-  kerberos:
-    ttl: 2h # unit [s|m|h|d]
-    login:
-      enable: false
-      debug: false
-      principal:
-      krb5:
-      keytab:

Reply via email to