Spring Data Redis Repository - save() exectues DEL operation which leads to...
I began using Spring Data Redis, with the high level Repository abstraction.My application has many threads which read and update entities at the same time.To my amazement, when updating an entity...
View ArticleHow to update multiple values of json with where condition in redis?
i have a json stored in redis , i wanted to update two of its value using a where condition for same key.i am able to update for a single attribute but how to update two attributeJSON.SET TDSS...
View ArticleRedis spring data message listener for mykey with generic command filter
I am trying to add a specific pattern for my key in redis spring data listener but its not working. Can anybody help me to advice how can I achieve the listener only for a specific command?Below is my...
View ArticleHow to store Jwt token in redis by spring boot
I'm new to redis my project giving Jwt I need to store in Jwt. Every API hits it's need to take token from Redis on behalf of creation of new token.Please help me with sample codeI've to store and get...
View Articlejava.lang.NoClassDefFoundError:...
After making it into a jar package, the error as shown in the figure will appear.enter image description hereBut there is no error when running in local idea.I hope someone can help me.Thanks.I tried...
View ArticleSpring data redis convert to localdate
I using spring boot with redis, i tried to get all user from the data base redis like belowpublic interface UserRepository extends CrudRepository<User, String> {}final Iterable<User>...
View ArticleFT.SEARCH not working with cluster based Redis server configuration
Redis Version: 7.2.1Installed Modules: RediSearch v.2.4.15, RedisJSON v.99.99.99Number of nodes: xx.x.x.xxx:6379, xx.x.x.xxx:6380, xx.x.x.xxx:6381, xx.x.x.xxx:6382, xx.x.x.xxx:6383,...
View ArticleUsing redis like a database, with spring
Hi is it possible to use redis with spring so that i can query all the objects that have a certain value.The reason im looking at a cache is that the data changes twice a day and is refreshed, i could...
View ArticleIs it possible to find keys which are on different shards using Lettuce using...
I am using Spring Data Redis in my API. I am trying run the following command through Java:Set<String> union = redisTemplate.opsForSet().union(ids);which is causing CROSSSLOT Keys in request...
View ArticleNOPERM this user has no permissions to run the 'hmset' command
i'm trying to write a redis object on an instance of REDIS using spring-boot-starter-data-redis.On Redis istance is deactivated the hmset and i must save object with hset.But i only run...
View ArticleHow to use Redis Cache with WebFlux dependency added in Spring Boot?
I am facing issues while bringing up my Spring Boot application that uses Spring Data Redis Reactive along with Webflux client. I need Webflux to make API calls using Web Client and that forces me to...
View ArticleContainer API cannot connect to container Redis:...
I'm trying to connect to a Redis database through a Java application, but I'm getting the following error:org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to...
View ArticleRedis Lettuce Client Command Latency Event Wasn't Retrieved in the subscriber
Command latency event wasn't retrieved in the subscriberThe code implementation of command latency monitoring using Letuce Redis client in Spring Boot MVC app didn't collecting any command latency...
View ArticlePlease resolve the redis server sharing error between two projects
Project A and Project B are both developed with spring and share the same redis server.But, the error occurred because the UserVO object in project A does not exist in project...
View ArticleSpring Redisson Sentinel Error - At least two sentinels are required
I am using Sentinel mode for Redis. I am using Redisson Client version...
View ArticleWhat is the different between spring-boot-starter-data-redis and embedded-redis?
I'm new to redis, I found something like this at...
View ArticleSharing redisson client connection pool between several redisson client bean
I had different objects, saved in redis. This objects has different structures.I need to use custom codec to serialize and deserialize it.I had three beans. @Bean(destroyMethod = "shutdown") public...
View ArticleUTs failing with NullPointerException on upgrading Redisson library
I upgraded the org.redisson:redisson version of my service from 3.14.0 to 3.22.0And I am using jsk-bom version 2.16.6While running the UTs with maven, some are failing with NPE while initializing...
View ArticleStop Redis serwer Threads stil waiting
I wrote Java code that connects to Redis and performs operations. When I shut down the Redis server, the thread throws an error but doesn't terminate. It's in TIMED_WAITING status, and the thread waits...
View Articlehow to notify the main thread when Redisson failed to renew a lock?
In the implementation of the watchdog in Redisson, if the renewal fails, it will just release the lock and do nothing:That means the main thread doesn't know if it has lost the lock and will continue...
View Article