From 1893169796153ffc7120728dddf1cc28cf40bf1e Mon Sep 17 00:00:00 2001 From: Nikita Koksharov Date: Thu, 29 Jun 2023 07:12:01 +0300 Subject: [PATCH] Update README.md --- redisson-spring-boot-starter/README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/redisson-spring-boot-starter/README.md b/redisson-spring-boot-starter/README.md index bda5d1ead..f4ef54b04 100644 --- a/redisson-spring-boot-starter/README.md +++ b/redisson-spring-boot-starter/README.md @@ -37,7 +37,7 @@ Downgrade `redisson-spring-data` module if necessary to support required Spring ### 2. Add settings into `application.settings` file -Using common spring boot settings: +Using common Spring Boot 3.x+ settings: ```yaml spring: @@ -58,6 +58,28 @@ spring: nodes: ``` +Using common Spring Boot up to 2.9.x settings: + +```yaml +spring: + data: + redis: + database: + host: + port: + password: + ssl: + timeout: + connectTimeout: + clientName: + cluster: + nodes: + sentinel: + master: + nodes: +``` + + Using Redisson config file ([single mode](https://github.com/redisson/redisson/wiki/2.-Configuration#262-single-instance-yaml-config-format), [replicated mode](https://github.com/redisson/redisson/wiki/2.-Configuration#252-replicated-yaml-config-format), [cluster mode](https://github.com/redisson/redisson/wiki/2.-Configuration#242-cluster-yaml-config-format),