Skip to content

Commit 8da5068

Browse files
Update Redis example documentation
With the release of Spring-Boot 3.x, the application properties for Redis changed from `spring.redis` to `spring.data.redis`. This change will update the documentation to be consistent with the latest changes in Spring-Boot.
1 parent 9276e1d commit 8da5068

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-session-docs/modules/ROOT/pages/guides/boot-redis.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ For example, you can include the following in your application.properties:
7575
====
7676
.src/main/resources/application.properties
7777
----
78-
spring.redis.host=localhost # Redis server host.
79-
spring.redis.password= # Login password of the redis server.
80-
spring.redis.port=6379 # Redis server port.
78+
spring.data.redis.host=localhost # Redis server host.
79+
spring.data.redis.password= # Login password of the redis server.
80+
spring.data.redis.port=6379 # Redis server port.
8181
----
8282
====
8383

0 commit comments

Comments
 (0)