# Copyright 2018-present Open Networking Foundation
#
# 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. 

# See examples/reference.conf for available configuration options. 

# The cluster configuration specifies how the Atomix node locates and communicates with peers in the Atomix cluster. 
cluster {
  # The discovery configuration must be provided. 
  discovery {
    type: multicast
  }

  # Enable multicast for multicast-based node discovery. 
  multicast.enabled: true

  # By default, the SWIM protocol is used for cluster membership. 
  protocol {
    type: swim
  }
}

# The management group must be provided or discovered at runtime from a peer. 
managementGroup {

}

# Additional partition groups must be provided or discovered at runtime from a peer. 
partitionGroups {

}

# Primitive configurations may be provided via configuration file or programmatically. 
primitives {

}
