We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 362396b commit 9c5b3beCopy full SHA for 9c5b3be
src/main/asciidoc/reference/redis.adoc
@@ -268,7 +268,7 @@ class WriteToMasterReadFromReplicaConfiguration {
268
public LettuceConnectionFactory redisConnectionFactory() {
269
270
LettuceClientConfiguration clientConfig = LettuceClientConfiguration.builder()
271
- .readFrom(SLAVE_PREFERRED)
+ .readFrom(REPLICA_PREFERRED)
272
.build();
273
274
RedisStandaloneConfiguration serverConfig = new RedisStandaloneConfiguration("server", 6379);
0 commit comments