OSS TanbouSign in with GitHub

integrate Redis into Spring through templates, repositories, Pub/Sub, and reactive APIs

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
1,874
Primary language
Java
License
Apache-2.0
Repository last updated
Oct 5, 2026
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. [1]Spring Data Redis README(2026-10-06)
  2. [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. 1

    Get the source

    git clone --depth 1 https://github.com/spring-projects/spring-data-redis.git
  2. 2

    Enter the repository

    cd spring-data-redis
  3. 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
Check the official README

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

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
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?