From 4cb0a5cef313a740e1bdc7f001f3fd8d093a54fe Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 14 Jun 2017 15:43:39 +0200 Subject: [PATCH] Add a note about Redis customization See gh-8894 --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 03488e6b2ae..c002ab95900 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -3310,6 +3310,10 @@ instance will attempt to connect to a Redis server using `localhost:6379`: } ---- +TIP: You can also register an arbitrary number of beans implementing +`JedisClientConfigurationBuilderCustomizer` for more advanced customizations. If you are +using Lettuce, `LettuceClientConfigurationBuilderCustomizer` is also available. + If you add a `@Bean` of your own of any of the auto-configured types it will replace the default (except in the case of `RedisTemplate` the exclusion is based on the bean name '`redisTemplate`' not its type). If `commons-pool2` is on the classpath you will get a