Merge "Reorder Create Tabs"
[ccsdk/cds.git] / ms / blueprintsprocessor / application / src / main / resources / atomix / atomix-multicast.conf
1 cluster {
2   # Configure the cluster node information.
3   node {
4     id: ${CLUSTER_NODE_ID}
5     address: ${CLUSTER_NODE_ADDRESS}
6   }
7   # Configure the node discovery protocol.
8   discovery {
9     type: multicast
10   }
11   multicast: {
12     enabled: true
13     port: 54321
14   }
15   # Configure the SWIM membership protocol.
16   protocol {
17     type: swim
18     broadcastUpdates: true
19     gossipInterval: 500ms
20     probeInterval: 2s
21     suspectProbes: 2
22   }
23 }
24 # Configure the system management group.
25 managementGroup {
26   type: raft
27   name: system
28   partitions: 1
29   members: [${CLUSTER_MEMBERS}]
30   storage {
31     directory: ${CLUSTER_STORAGE_PATH}/data-${CLUSTER_NODE_ID}
32     level: DISK
33   }
34 }
35
36 # Configure a Raft partition group.
37 partitionGroups.data {
38   type: primary-backup
39   partitions: 7
40 }