diff --git a/streampark-common/src/test/resources/application.yaml b/streampark-common/src/test/resources/application.yaml index 7f828bf587..b1312a0905 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 91e843a2b9..028b8f3470 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 cacdc81f1a..84da042c2d 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 static File getPluginDir() { return getAppDir(PLUGINS); } - public static boolean isHaEnable() { - return SystemPropertyUtils.getBoolean("high-availability.enable", false); - } - }