Clarify when a connection pool is created for Redis

Closes gh-26733
pull/27078/head
Stephane Nicoll 4 years ago
parent 7e4defbcba
commit 3f23b9265d

@ -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 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). 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]] [[boot-features-mongodb]]

Loading…
Cancel
Save