diff options
author | 2019-12-16 20:59:41 -0500 | |
---|---|---|
committer | 2019-12-16 20:59:41 -0500 | |
commit | 383235b495c32a1762511f1837bc9e98af6226eb (patch) | |
tree | afe0e093f4756b2f82679038a3029c515082c9e2 /ms/blueprintsprocessor/application/src/main/resources/atomix/atomix-multicast.conf | |
parent | 73a37ecd64accefc0e4b8a9db2cb9e0127d94408 (diff) |
Cluster distributed data store
Add experimental cluster co-ordination service using Atomic framework.
Included distributed data store creation utilities.
Sample docker compose data cluster between cds controller and resource-resolution instances.
Issue-ID: CCSDK-2000
Signed-off-by: Brinda Santh <bs2796@att.com>
Change-Id: I4de00e773a996e08fd1d260fc27ed18832433883
Diffstat (limited to 'ms/blueprintsprocessor/application/src/main/resources/atomix/atomix-multicast.conf')
-rw-r--r-- | ms/blueprintsprocessor/application/src/main/resources/atomix/atomix-multicast.conf | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/application/src/main/resources/atomix/atomix-multicast.conf b/ms/blueprintsprocessor/application/src/main/resources/atomix/atomix-multicast.conf new file mode 100644 index 000000000..fd161879c --- /dev/null +++ b/ms/blueprintsprocessor/application/src/main/resources/atomix/atomix-multicast.conf @@ -0,0 +1,40 @@ +cluster { + # Configure the cluster node information. + node { + id: ${CLUSTER_NODE_ID} + address: ${CLUSTER_NODE_ADDRESS} + } + # Configure the node discovery protocol. + discovery { + type: multicast + } + multicast: { + enabled: true + port: 54321 + } + # Configure the SWIM membership protocol. + protocol { + type: swim + broadcastUpdates: true + gossipInterval: 500ms + probeInterval: 2s + suspectProbes: 2 + } +} +# 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 +} |