Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
e08d4f1f
Commit
e08d4f1f
authored
May 18, 2021
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move "Use Jedis Instead of Lettuce" How-to
See gh-26262
parent
499a29c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
anchor-rewrite.properties
...ing-boot-docs/src/docs/asciidoc/anchor-rewrite.properties
+1
-1
howto.adoc
...oot-project/spring-boot-docs/src/docs/asciidoc/howto.adoc
+0
-2
nosql.adoc
...oject/spring-boot-docs/src/docs/asciidoc/howto/nosql.adoc
+9
-2
No files found.
spring-boot-project/spring-boot-docs/src/docs/asciidoc/anchor-rewrite.properties
View file @
e08d4f1f
...
@@ -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
=
\
...
...
spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto.adoc
View file @
e08d4f1f
...
@@ -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[]
spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/
jedis-instead-of-lettuce
.adoc
→
spring-boot-project/spring-boot-docs/src/docs/asciidoc/howto/
nosql
.adoc
View file @
e08d4f1f
[[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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment