From 5d1b80938c38b26e24f52582158f13a1ee572b09 Mon Sep 17 00:00:00 2001 From: karsonto Date: Thu, 25 Apr 2024 14:48:49 +0800 Subject: [PATCH] properties modify --- eventmesh-runtime/conf/eventmesh.properties | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eventmesh-runtime/conf/eventmesh.properties b/eventmesh-runtime/conf/eventmesh.properties index a74485876f..97bed9a860 100644 --- a/eventmesh-runtime/conf/eventmesh.properties +++ b/eventmesh-runtime/conf/eventmesh.properties @@ -86,11 +86,17 @@ eventMesh.metaStorage.plugin.username=nacos eventMesh.metaStorage.plugin.password=nacos # metaStorage plugin: raft -#eventMesh.metaStorage.raft.dataPath=/tmp/server1 +#Path to local snapshot storage for raft data# +#eventMesh.metaStorage.raft.dataPath=/tmp/eventmesh-meta-raft +###########Raft local ip and port######### #eventMesh.metaStorage.raft.self=127.0.0.1:9091 -#eventMesh.metaStorage.raft.members=127.0.0.1:9092,127.0.0.1:9093 +###########Members ip and port######### +#eventMesh.metaStorage.raft.members=127.0.0.2:9091,127.0.0.3:9091 +###########Raft leader election timeout second######### #eventMesh.metaStorage.raft.electionTimeout=5 +###########Raft snapshot interval second######### #eventMesh.metaStorage.raft.snapshotInterval=30 +###########Raft refresh leader interval second######### #eventMesh.metaStorage.raft.refreshLeaderInterval=3 # metaStorage plugin: nacos