Skip to content

Commit c2a782e

Browse files
committed
Merge branch '3.2.x' into 3.3.x
Closes gh-41748
2 parents 0ad1241 + 7386908 commit c2a782e

File tree

1 file changed

+14
-0
lines changed
  • spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/data

1 file changed

+14
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/data/nosql.adoc

+14
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,20 @@ spring:
5858
password: "secret"
5959
----
6060

61+
You can also specify the url of the Redis server directly.
62+
When setting the url, the host, port, username and password properties are ignored.
63+
This is shown in the following example:
64+
65+
[configprops,yaml]
66+
----
67+
spring:
68+
data:
69+
redis:
70+
url: "redis://user:secret@localhost:6379"
71+
database: 0
72+
----
73+
74+
6175
TIP: You can also register an arbitrary number of beans that implement `LettuceClientConfigurationBuilderCustomizer` for more advanced customizations.
6276
`ClientResources` can also be customized using `ClientResourcesBuilderCustomizer`.
6377
If you use Jedis, `JedisClientConfigurationBuilderCustomizer` is also available.

0 commit comments

Comments
 (0)