ct.copycat-core.0.5.1.onos.source-code.cluster-defaults.conf Maven / Gradle / Ivy
The newest version!
# Copyright 2014 the original author or authors.
#
# Licensed 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.
# Default cluster configuration.
# To override the default cluster configuration, define a "cluster.conf" resource on the classpath.
# Configures the default cluster protocol.
protocol {
class: net.kuujo.copycat.protocol.LocalProtocol
}
# Configures the global Raft election timeout
election.timeout = 500
# Configures the global Raft heartbeat interval
heartbeat.interval = 150
# Configures the local member URI
# local-member: "tcp://123.456.789.0:1234"
# Configures the set of members in the cluster
members: [
# "tcp://123.456.789.0:1234"
# "tcp://123.456.789.1:1234"
# "tcp://123.456.789.2:1234"
]
© 2015 - 2025 Weber Informatics LLC | Privacy Policy