You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampark.apache.org by be...@apache.org on 2026/03/26 14:59:13 UTC

(streampark) branch dev updated: [Improvement-4330] Optimize the configuration file and remove any unnecessary configurations (#4331)

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

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


The following commit(s) were added to refs/heads/dev by this push:
     new 8ac8d4d4d [Improvement-4330] Optimize the configuration file and remove any unnecessary configurations (#4331)
8ac8d4d4d is described below

commit 8ac8d4d4dd714537aba65070a63175dca2bf9e77
Author: niumy <65...@users.noreply.github.com>
AuthorDate: Thu Mar 26 22:59:07 2026 +0800

    [Improvement-4330] Optimize the configuration file and remove any unnecessary configurations (#4331)
    
    * [Improvement-4330] Optimize the configuration file and remove any unnecessary configurations
    
    ---------
    
    Co-authored-by: niumy <ni...@chinatelecom.cn>
---
 streampark-common/src/test/resources/application.yaml    |  8 --------
 .../src/main/assembly/conf/config.yaml                   | 16 ----------------
 .../apache/streampark/console/base/util/WebUtils.java    |  5 -----
 3 files changed, 29 deletions(-)

diff --git a/streampark-common/src/test/resources/application.yaml b/streampark-common/src/test/resources/application.yaml
index 7f828bf58..b1312a090 100644
--- a/streampark-common/src/test/resources/application.yaml
+++ b/streampark-common/src/test/resources/application.yaml
@@ -14,11 +14,3 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-
-network:
-  # network interface preferred like eth0, default: empty
-  preferred-interface: ""
-  # network interface restricted like docker0, default: empty
-  restrict-interface: docker0
-  # network IP gets priority, default inner outer
-  priority-strategy: default
diff --git a/streampark-console/streampark-console-service/src/main/assembly/conf/config.yaml b/streampark-console/streampark-console-service/src/main/assembly/conf/config.yaml
index 91e843a2b..028b8f347 100644
--- a/streampark-console/streampark-console-service/src/main/assembly/conf/config.yaml
+++ b/streampark-console/streampark-console-service/src/main/assembly/conf/config.yaml
@@ -99,19 +99,3 @@ sso:
         principalNameAttribute:
         # Optional, change by authentication client
         # Please replace and fill in your client config below when enabled SSO
-
-high-availability:
-  enable: false # true
-  # The list of ZooKeeper quorum peers that coordinate the high-availability
-  # setup. This must be a list of the form:
-  # "host1:clientPort,host2:clientPort,..." (default clientPort: 2181)
-  #
-  zookeeper.quorum: 192.168.100.128:2181,192.168.100.129:2181
-
-network:
-  # network interface preferred like eth0, default: empty
-  preferred-interface: ""
-  # network interface restricted like docker0, default: empty
-  restrict-interface: docker0
-  # network IP gets priority, default inner outer
-  priority-strategy: default
diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/util/WebUtils.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/util/WebUtils.java
index cacdc81f1..84da042c2 100644
--- a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/util/WebUtils.java
+++ b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/util/WebUtils.java
@@ -18,7 +18,6 @@
 package org.apache.streampark.console.base.util;
 
 import org.apache.streampark.common.conf.ConfigKeys;
-import org.apache.streampark.common.util.SystemPropertyUtils;
 
 import org.apache.commons.lang3.StringUtils;
 
@@ -92,8 +91,4 @@ public final class WebUtils {
         return getAppDir(PLUGINS);
     }
 
-    public static boolean isHaEnable() {
-        return SystemPropertyUtils.getBoolean("high-availability.enable", false);
-    }
-
 }