You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecate RedisSentinelConfiguration and RedisClusterConfiguration constructors taking PropertySource in favor of a factory method.
Reformat code. Update documentation.
See #2860
Original pull request: #2861
Copy file name to clipboardExpand all lines: src/main/antora/modules/ROOT/pages/redis/connection-modes.adoc
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ public RedisConnectionFactory jedisConnectionFactory() {
96
96
97
97
[TIP]
98
98
====
99
-
`RedisSentinelConfiguration` can also be defined with a `PropertySource`, which lets you set the following properties:
99
+
`RedisSentinelConfiguration` can also be defined through `RedisSentinelConfiguration.of(PropertySource)`, which lets you pick up the following properties:
100
100
101
101
.Configuration Properties
102
102
* `spring.redis.sentinel.master`: name of the master node.
@@ -164,7 +164,7 @@ public class AppConfig {
164
164
165
165
[TIP]
166
166
====
167
-
`RedisClusterConfiguration` can also be defined through `PropertySource` and has the following properties:
167
+
`RedisClusterConfiguration` can also be defined through `RedisClusterConfiguration.of(PropertySource)`, which lets you pick up the following properties:
168
168
169
169
.Configuration Properties
170
170
- `spring.redis.cluster.nodes`: Comma-delimited list of host:port pairs.
0 commit comments