Commit e08d4f1f authored by Phillip Webb's avatar Phillip Webb

Move "Use Jedis Instead of Lettuce" How-to

See gh-26262
parent 499a29c4
...@@ -2845,7 +2845,7 @@ howto.traditional-deployment.weblogic ...@@ -2845,7 +2845,7 @@ howto.traditional-deployment.weblogic
# 2 == Use Jedis Instead of Lettuce # 2 == Use Jedis Instead of Lettuce
howto-use-jedis-instead-of-lettuce=\ howto-use-jedis-instead-of-lettuce=\
howto.jedis-instead-of-lettuce howto.nosql.jedis-instead-of-lettuce
# 2 == Use Testcontainers for integration testing # 2 == Use Testcontainers for integration testing
howto-testcontainers=\ howto-testcontainers=\
......
...@@ -48,5 +48,3 @@ include::howto/testing.adoc[] ...@@ -48,5 +48,3 @@ include::howto/testing.adoc[]
include::howto/build.adoc[] include::howto/build.adoc[]
include::howto/traditional-deployment.adoc[] include::howto/traditional-deployment.adoc[]
include::howto/jedis-instead-of-lettuce.adoc[]
[[howto.jedis-instead-of-lettuce]] [[howto.nosql]]
== Use Jedis Instead of Lettuce == NoSQL
Spring Boot offers a number of starters that support NoSQL technologies.
This section answers questions that arise from using NoSQL with Spring Boot.
[[howto.nosql.jedis-instead-of-lettuce]]
=== Use Jedis Instead of Lettuce
By default, the Spring Boot starter (`spring-boot-starter-data-redis`) uses https://github.com/lettuce-io/lettuce-core/[Lettuce]. By default, the Spring Boot starter (`spring-boot-starter-data-redis`) uses https://github.com/lettuce-io/lettuce-core/[Lettuce].
You need to exclude that dependency and include the https://github.com/xetorthio/jedis/[Jedis] one instead. You need to exclude that dependency and include the https://github.com/xetorthio/jedis/[Jedis] one instead.
Spring Boot manages both of these dependencies so you can switch to Jedis without specifying a version. Spring Boot manages both of these dependencies so you can switch to Jedis without specifying a version.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment