Skip to content

Commit 124c3ac

Browse files
committed
Polish "Add support for used-defined RedisStandaloneConfiguration"
See gh-28028
1 parent 236c2dd commit 124c3ac

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/JedisConnectionConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
*
4343
* @author Mark Paluch
4444
* @author Stephane Nicoll
45-
* @author Eddú Meléndez
4645
*/
4746
@Configuration(proxyBeanMethods = false)
4847
@ConditionalOnClass({ GenericObjectPool.class, JedisConnection.class, Jedis.class })

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/redis/LettuceConnectionConfiguration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
*
5353
* @author Mark Paluch
5454
* @author Andy Wilkinson
55-
* @author Eddú Meléndez
5655
*/
5756
@Configuration(proxyBeanMethods = false)
5857
@ConditionalOnClass(RedisClient.class)

spring-boot-project/spring-boot-docs/src/docs/asciidoc/data/nosql.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ include::{docs-java}/data/nosql/redis/connecting/MyBean.java[]
4444
TIP: You can also register an arbitrary number of beans that implement `LettuceClientConfigurationBuilderCustomizer` for more advanced customizations.
4545
`ClientResources` can also be customized using `ClientResourcesBuilderCustomizer`.
4646
If you use Jedis, `JedisClientConfigurationBuilderCustomizer` is also available.
47+
Alternatively, you can register a bean of type `RedisStandaloneConfiguration`, `RedisSentinelConfiguration`, or `RedisClusterConfiguration` to take full control over the configuration.
4748

4849
If you add your own `@Bean` of any of the auto-configured types, it replaces the default (except in the case of `RedisTemplate`, when the exclusion is based on the bean name, `redisTemplate`, not its type).
4950

0 commit comments

Comments
 (0)