On this page
Overview
Spring Data Redis provides Spring Data integration for Redis. It includes a connection abstraction over Lettuce and Jedis, RedisTemplate, repositories, Pub/Sub, Sentinel and Cluster support, serializers, and a Lettuce-based reactive API.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Use RedisTemplate for operations, exception translation, and serialization
RedisTemplate provides a higher-level abstraction that combines Redis operations with Spring exception translation and serialization support.
Sources: [1]
Use repositories, Pub/Sub, Sentinel/Cluster, and reactive access
The module supports generated repositories, MessageListenerContainer Pub/Sub, Redis Sentinel and Cluster, and reactive APIs through the Lettuce driver.
Sources: [1]
Best fit
Fits Spring Boot and Kotlin services standardizing cache and key-value access
It is useful when Spring applications want consistent connection management and data-access exceptions across imperative and reactive Redis workloads.
Sources: [1]
Before adoption
Choose serialization and key/value schemas deliberately
Because JDK, String, JSON, and other serializers are available, shared or durable data should use an explicit serialization format, key naming convention, and TTL policy.
Sources: [1]
Version 4.0.7 adds a 3.x-to-4.x migration guide and serialization fixes
The 4.0.7 release adds migration guidance for 3.x to 4.x and fixes issues including a GenericJacksonJsonRedisSerializer NPE with duplicate properties.
Sources: [2]
Official sources
- [1]Spring Data Redis README(2026-10-06)
- [2]Spring Data Redis 4.0.7 release(2026-10-06)
Supplemental curator note
It fits Spring Boot and Kotlin services that want Redis access through Spring data abstractions. Serialization, key/value schemas, TTLs, and cluster topology still need explicit application design.
Try it in 3 steps
- 1
Get the source
git clone --depth 1 https://github.com/spring-projects/spring-data-redis.git - 2
Enter the repository
cd spring-data-redis - 3
Check the official steps
Continue with the commands in the README Installation, Quick Start, or Getting Started section.
find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Growth
Growth trends · Last 30 days
1,874 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 35
- Open PRs
- 50
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- java
- redis
- ddd
- spring
- spring-data
- framework
- Stars
- 1,874
- Forks
- 1,279
- Watchers
- 137
- Open issues
- 145
- Contributors
- 190
- Owner type
- Organization
- Primary language
- Java
- License
- Apache-2.0
- Repository last updated
- Oct 5, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- Spring Data JPA3,287 Stars
5 shared tag(s) · 2 shared category(s) · Same language
derive JPA CRUD, finder, pagination, and auditing behavior from repository interfaces
Java - Kotlin JDSL825 Stars
4 shared tag(s) · 2 shared category(s)
build JPA queries from ordinary Kotlin classes without generated metamodels
Kotlin - Spring for Apache Kafka2,512 Stars
4 shared tag(s) · 1 shared category(s) · Same language
standardize Kafka producers, consumers, retries, and transactions through Spring abstractions
Java - Komapper344 Stars
3 shared tag(s) · 2 shared category(s)
unify JDBC and R2DBC with a Kotlin DSL and compile-time metamodels
Kotlin - Spring Boot81,561 Stars
3 shared tag(s) · Same language
put Spring application assembly and operations on a common foundation
Java - DBeaver51,958 Stars
2 shared tag(s) · 2 shared category(s) · Same language
operate many database systems from one desktop SQL workspace
Java
Report incorrect information
Tell us if any listing information is incorrect or outdated.