Skip to main content

Questions tagged [spring-data-redis]

Spring Data Redis, part of the larger Spring Data family, provides easy configuration and access to Redis from Spring applications. It offers both low-level and high-level abstractions for interacting with the store, freeing the user from infrastructural concerns.

spring-data-redis
0 votes
0 answers
15 views

Spring Boot Redis Cache DefaultSeriaLizer Problem

I'm trying to implement Redis caching in my Spring Boot project to cache user profile information retrieved by the getProfileByUsername method in the UserService class. However, encountering a ...
Jabed Iqbal Joy's user avatar
0 votes
0 answers
21 views

Spring boot Redis omit phantoms during search

I am using Redis search together with Spring data redis. I need time to live functionality hence phantoms are created by the framework which is fine. But when doing ft.search I do not want those ...
adamzrk's user avatar
1 vote
0 answers
30 views

Spring Reactive - Redis Health Check Failing

I have enabled my application to use the actuator/health endpoint and kept getting the status as 'DOWN'. After checking the full health endpoint details, I can see that I am getting two reponses for ...
amasuKAKAROT's user avatar
2 votes
1 answer
116 views

com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Missing type id while fetching data from redis cache

I have implemented a redis cache in a spring boot project. Below is the code used to cache the data returned by the method. when executed first time , it stores data into cache successfully. EDIT @...
Muddassir Rahman's user avatar
0 votes
1 answer
40 views

Spring rest repository jackson serializer problem

When I use Spring rest repository + spring security + spring session + redis,the type org.springframework.hateoas.Links cannot (de)serialization,the stacktrace as follows 2024-06-27T10:11:45.816+08:00 ...
douzengrui's user avatar
0 votes
0 answers
11 views

GCP Memstore Discovery End Point connectivity

We are using spring session which uses Lettuce connection factory to connect to the GCP redis single instance. We are planning to move to GCP redis cluster which has Discovery End point (single IP ...
Hemanth K N's user avatar
0 votes
1 answer
28 views

When I use CompositeCodec(StringCodec.INSTANCE,new TypedJsonJacksonCodec(Member.class))how can RMap get value be correctly converted to a Java object?

Line 55 expects map.get(name) to return a value of type Member instead of LinkedHashMap, When using CompositeCodec Specify mapValueCodec as TypedJsonJacksonCodec. The getMemberByName method will throw ...
xuleilei's user avatar
0 votes
2 answers
112 views

Unable to connect to Redis | Spring Boot

I've a redis service on upstash.io but not able to connect to it from my spring boot application This is my redis config @Configuration public class RedisConfig { @Bean public ...
Dhananjai Saini's user avatar
0 votes
0 answers
36 views

In redis, how to quickly get names based on a list of keys

I want to implement a tag cloud. Tag information is stored in Redis: redisTemplate.opsForValue().set(tagKey, tagName); The usage count of the tags is also stored in Redis, using a sorted set: ...
Ted Han Neversummer's user avatar
1 vote
0 answers
119 views

Spring Data Redis used as message broker for websocket with Angular client

Hello and thanks in advance if you'll have time to read and maybe answer to my question. I have an already working SpringBoot 3.2.4 app that is communicating with an Angular client via websocket ...
ad3luc's user avatar
  • 302
0 votes
1 answer
37 views

Stream handling "exceptions"

While using Redis Stream, I encountered an issue where the consumer faced an exception while consuming, leading to the cancellation of subscription by the StreamMessageListenerContainer. I found that ...
He Jin's user avatar
  • 1
0 votes
0 answers
48 views

Handling Redis Connection Events with Spring Boot Data Redis

With Spring Boot Data Redis, is there a way to detect and handle Redis connection activation and deactivation events? I am using Spring Integration to listen to a Kafka topic, perform some processing, ...
Harpreet Saund's user avatar
0 votes
0 answers
37 views

How to obtain JedisPooled in Spring Boot

I'm using Spring Boot 3.2.3 and spring-boot-starter-data-redis where I excluded lettuce and using jedis instead. Is there any "spring-boot" way of obtaining JedisPooled object (instead of ...
Wrapper's user avatar
  • 902
0 votes
0 answers
31 views

intelij.docker connection problem in fedora

its the error showing in the Services Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? (Details: [2] No such file or directory) the error when i run ...
Anandhu Suresh's user avatar
0 votes
1 answer
104 views

AWS Redis apparently not allowing KEY * command operation to fetch all keys

I got the below exception while reading the all the keys from my AWS Redis cache. The write operation to cache was successful and I validated it with logs. To the best of my knowledge AWS does not ...
Sharad Nanda's user avatar

15 30 50 per page
1
2 3 4 5
72