Move "Use Jedis Instead of Lettuce" How-to
See gh-26262
This commit is contained in:
@@ -2845,7 +2845,7 @@ howto.traditional-deployment.weblogic
|
||||
|
||||
# 2 == 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
|
||||
howto-testcontainers=\
|
||||
|
||||
@@ -48,5 +48,3 @@ include::howto/testing.adoc[]
|
||||
include::howto/build.adoc[]
|
||||
|
||||
include::howto/traditional-deployment.adoc[]
|
||||
|
||||
include::howto/jedis-instead-of-lettuce.adoc[]
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
[[howto.jedis-instead-of-lettuce]]
|
||||
== Use Jedis Instead of Lettuce
|
||||
[[howto.nosql]]
|
||||
== 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].
|
||||
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.
|
||||
Reference in New Issue
Block a user