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)