spring-data-redis icon indicating copy to clipboard operation
spring-data-redis copied to clipboard

Provides support to increase developer productivity in Java when using Redis, a key-value store. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository...

Results 287 spring-data-redis issues
Sort by recently updated
recently updated
newest added

This PR addresses issue #3269 by extracting duplicate duration validation logic into a reusable helper method. ## Changes - Added `isPositiveDuration(Duration)` helper method to eliminate code duplication - Replaced duplicate...

type: task

## Refactor: Extract precision API fallback with type-safe enum Remove 66 lines of duplicate try-catch code from RedisTemplate. Replace hardcoded strings with PrecisionCommand enum. Add logging and specific exception handling....

status: waiting-for-triage

## Summary Extract duplicated precision command fallback logic from `RedisTemplate` into a reusable utility class with type-safe enum constants. ## Current Problem The same try-catch pattern is duplicated across 3...

status: waiting-for-triage

This change introduces the ability to identify spring-data-redis clients on the server side using the underlying drivers (jedis and lettuce) and the [CLIENT SETINFO](https://redis.io/docs/latest/commands/client-setinfo/) command. As part of the change,...

status: waiting-for-triage

### Current Code The same validation pattern appears twice: - Line 215: `!sleepTime.isZero() && !sleepTime.isNegative()` - Line 566: `!this.sleepTime.isZero() && !this.sleepTime.isNegative()` ### Proposed Solution Extract this logic into a helper...

type: task
status: waiting-for-triage

#### Summary This PR refactors duplicated TTL computation logic inside DefaultRedisCacheWriter's get method following expression was previously evaluated twice ```java timeToIdleEnabled && withTtl ? ttl : null ``` #### What...

status: waiting-for-triage

#### Problem In DefaultRedisCacheWriter's get method, following expression is evaluated twice ```java timeToIdleEnabled && withTtl ? ttl : null ``` #### Proposed Improvement Extract the conditional TTL evaluation into a...

type: task

## Summary This PR adds static factory methods for `JacksonJsonRedisSerializer` to simplify instantiation and improve code readability. Closes #3252 ## Changes - Added `JacksonJsonRedisSerializer.of(Class)` as a static factory method -...

type: enhancement

Hi Team, Hope it is a simple request. Can we add a static factory method for creating instances of **`JacksonJsonRedisSerializer`** in V 4.0? **Example:** `JacksonJsonRedisSerializer serializer = JacksonJsonRedisSerializer.of(Person.class);` Alternatively, a...

type: enhancement