Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions streampark-common/src/test/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -92,8 +91,4 @@ public static File getPluginDir() {
return getAppDir(PLUGINS);
}

public static boolean isHaEnable() {
return SystemPropertyUtils.getBoolean("high-availability.enable", false);
}

}
Loading