From ee5ee099095cebb74280b329ead2dad9b11e5d01 Mon Sep 17 00:00:00 2001 From: riteshdg Date: Wed, 7 Oct 2020 11:57:57 +0100 Subject: [PATCH] Update README.md Fix README description with right sentinel nodes count --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a05b373..c67fbb9b 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ public class SomeIntegrationTestThatRequiresRedis { final List sentinels = Arrays.asList(26739, 26912); final List group1 = Arrays.asList(6667, 6668); final List group2 = Arrays.asList(6387, 6379); - //creates a cluster with 3 sentinels, quorum size of 2 and 3 replication groups, each with one master and one slave + //creates a cluster with 2 sentinels, quorum size of 2 and 3 replication groups, each with one master and one slave cluster = RedisCluster.builder().sentinelPorts(sentinels).quorumSize(2) .serverPorts(group1).replicationGroup("master1", 1) .serverPorts(group2).replicationGroup("master2", 1)