All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ct.copycat-core.0.5.1.onos.source-code.resource-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 resource configurations.
# To override the default resource configuration, define a "resource.conf" resource on the classpath.

# Configures the Raft election timeout
election.timeout = 500

# Configures the interval at which log entries are replicated by the Raft algorithm
heartbeat.interval = 150

# Configures the set of replicas for the resource. If no replicas are configured then the core Copycat cluster
# replicas will be used. If replicas are configured, the listed replicas *must* be active members of the core
# Copycat cluster. Members listed in the replica list will participate in the Raft process for the resource.
# replicas = [
#   "tcp://123.456.789.1:5000"
#   "tcp://123.456.789.2:5000"
#   "tcp://123.456.789.3:5000"
# ]

# Configures the resource log. The file log will inherit the options specified in log.conf or log-defaults.conf if
# configuration options are not overridden here.
log {
  class: net.kuujo.copycat.log.FileLog
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy