From 3f23b9265d108ecb9517851d7d37f02072c7ef13 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Wed, 2 Jun 2021 13:49:16 +0200 Subject: [PATCH] Clarify when a connection pool is created for Redis Closes gh-26733 --- .../src/docs/asciidoc/spring-boot-features.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc index eac7fc45a4..2360e2cef3 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc @@ -4295,8 +4295,8 @@ TIP: You can also register an arbitrary number of beans that implement `LettuceC If you use Jedis, `JedisClientConfigurationBuilderCustomizer` is also available. 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). -By default, if `commons-pool2` is on the classpath, you get a pooled connection factory. +A pooled connection factory is auto-configured if `commons-pool2` is on the classpath and at least one `Pool` option of {spring-boot-autoconfigure-module-code}/data/redis/RedisProperties.java[`RedisProperties`] is set. [[boot-features-mongodb]]