Skip to content

Commit

Permalink
Merge branch '3.2.x' into 3.3.x
Browse files Browse the repository at this point in the history
Closes gh-41748
  • Loading branch information
mhalbritter committed Aug 9, 2024
2 parents 0ad1241 + 7386908 commit c2a782e
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,20 @@ spring:
password: "secret"
----

You can also specify the url of the Redis server directly.
When setting the url, the host, port, username and password properties are ignored.
This is shown in the following example:

[configprops,yaml]
----
spring:
data:
redis:
url: "redis://user:secret@localhost:6379"
database: 0
----


TIP: You can also register an arbitrary number of beans that implement `LettuceClientConfigurationBuilderCustomizer` for more advanced customizations.
`ClientResources` can also be customized using `ClientResourcesBuilderCustomizer`.
If you use Jedis, `JedisClientConfigurationBuilderCustomizer` is also available.
Expand Down

0 comments on commit c2a782e

Please sign in to comment.