summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/application/src/main/resources/atomix/atomix-bootstrap.conf
blob: 0fc31e00f134d580df15c18109a983d001cb323a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
cluster {
  # Configure the cluster node information.
  node {
    id: ${CLUSTER_NODE_ID}
    address: ${CLUSTER_NODE_ADDRESS}
  }
  # Configure the node discovery protocol.
  discovery {
    type: bootstrap
    nodes.1 {
      id: cds-controller-1
      address: "cds-controller-1:5679"
    }
    nodes.2 {
      id: resource-reolution-1
      address: "resource-reolution-1:5679"
    }
  }
}
# Configure the system management group.
managementGroup {
  type: raft
  name: system
  partitions: 1
  members: [${CLUSTER_MEMBERS}]
  storage {
    directory: ${CLUSTER_STORAGE_PATH}/data-${CLUSTER_NODE_ID}
    level: DISK
  }
}
# Configure a Raft partition group.
partitionGroups.data {
  type: primary-backup
  partitions: 7
}