Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

How to get access to field of nested reference in Redis Document from autogenerate metamodel

I am using redis-om-spring:1.0.4 with spring boot 3.4.10 for getting @Document support. I have some class like @Setter @Getter class Vehicle { @Id private String id; ...
0 votes
0 answers
24 views

Configuring Redis Sentinal for Spring Boot in Kubernetes [closed]

I have setup Redis using Bitnami Helm Chart After installed, there are two services created: $ kubectl get pod NAME READY STATUS RESTARTS AGE redis-node-0 2/2 ...
1 vote
1 answer
68 views

Spring Boot 3 with Lettuce: How to avoid SENTINEL REPLICAS command when user lacks permissions?

I am setting up a Spring Boot 3 application (using Gradle and Java 17) with Redis Sentinel and the Lettuce client (non-reactive, with RedisTemplate). Our infrastructure team has provided a Redis ...
1 vote
1 answer
29 views

Spring - Cache - Concurency issue

I have this cache @Cachable(cacheName = CACHE_MY_CACHE, key="#param", sync=true) public Object doStuff(String param){ ... } Which is using Redis in the background so it's distributed ...
1 vote
0 answers
66 views

Why does findByTypeNotIn in Redis OM Spring generate the same RediSearch query as findByTypeIn?

I’m using Redis OM Spring with a simple repository: @Document(value = "Marker", indexName = "MarkerIdx") data class RedisMarker( //other indexed @Indexed ...
0 votes
1 answer
73 views

OAuth2Authentication token serializing by spring session with redis

I am using spring session for redis for my oauth2 login. I have implemented a custom principal. @Data @NoArgsConstructor @JsonIgnoreProperties(ignoreUnknown = true) public final class ...
-4 votes
1 answer
62 views

Change default configuration properties for spring-boot-starter-data-redis

I want to use spring-boot-starter-data-redis with custom configuration properties: redis: host: localhost port: 6379 password: pass timeout: 5000 It's working only when I use: spring: ...
0 votes
1 answer
93 views

Spring Data Redis Repository Function delete...By not working?

I am using spring-data-redis (version 3.5.0-M2). This is my entity class: @RedisHash("Embedding") @Data @NoArgsConstructor @AllArgsConstructor public class Embedding { @Id private ...
0 votes
0 answers
63 views

How to handle when redis keyspace notification is delayed when using Spring session with it?

In my application im using spring session with redis as the data store. We track if a user is logged in/not based on the Session Destroyed event. Whenever we receive this event we will mark that ...
1 vote
0 answers
119 views

How to use RedisTemplate.execute(SessionCallback) without type issues?

Here's my basic example setup: private final RedisTemplate<String, Object> redisTemplate; public void save(Object thing, Instant expiresAt) { redisTemplate.execute(new SessionCallback<...
1 vote
1 answer
494 views

Lettuce Redis: Does Command Timeout Include Connection Pool Wait Time?

I'm using LettuceConnection with a connection pool to connect my application to a Redis server. However, during load testing, I encountered a significant number of command timeout errors. Initially, I ...
0 votes
0 answers
38 views

Shared properties for Spring Cloud Config Server with Redis Backend

Having Spring Cloud Config Server v4.2.1 with Redis Backend I'm trying to configure common (shared) properties which should be available for all client application. There is an approach clearly ...
2 votes
2 answers
112 views

Does Redis save long as Int?

I've got this exception. java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Long (java.lang.Integer and java.lang.Long are in module java.base of loader 'bootstrap'...
0 votes
1 answer
25 views

Spring Declarative Annotation-based Caching compatibity with Redis Template Implementation

When I am inserting object to redis, I am using spring annotation and when I try to get the object I am using redis template implementation. While doing so, I am getting exception. Below is the spring ...
0 votes
0 answers
32 views

Migrate spring-data-redis 1.5.2.RELEASE to 2.3.12.RELEASE

I'm trying to migrate spring-data-redis 1.5.2.RELEASE to 2.3.12.RELEASE, but I'm finding that some methods in RedisCacheConfiguration are not in version 2.3.12.RELEASE I have the method ...

15 30 50 per page
1
2 3 4 5
...
71

AltStyle によって変換されたページ (->オリジナル) /