Quantcast
Channel: Active questions tagged redis+java - Stack Overflow
Browsing all 2204 articles
Browse latest View live
↧

Group message in Queue like RabbitMQ/Kafka/Redis

I got problem when using message queue like kafka, rabbitmq, redisI want to group message into multi group by tenant ID, cause each message in queue/topic belong to difference tenant, each tenant have...

View Article


Redis-Latency : in our project facing redis latency on standalone server...

facing latency in redis,below redis-benchmarh and -cli results indicates latency in redis. need recommendation on what configuration needs to be revisited and what could be the possible approaches to...

View Article


Does springDataRedis not support native-image of graalvm?

My project is based on spring boot 3, and my code runs without any issues under the jvm. However, when I compile and run it under Linux using grailvm, I encountered an errorThe error is as...

View Article

Redis Commander does not show cached data

I have implemented Redis to my project. It seems to work as when I use Postman toGET some information from http client. For the first query it needs ~150 ms and for the further onesjust ~5-7 ms. Now,...

View Article

Redis WARNING Memory overcommit must be enabled

I'm running my redis server on a docker container hosted on my local windows machine, but i am unable to store data because of this warningWARNING Memory overcommit must be enabled! Without it, a...

View Article


Is Redisson thread-safe itself?

Redisson client is said to be thread-safe.My question is, if Redisson and its object instances are thread-safe, what is the use of Locks like RLock?Does that enhance performance on multi-instance...

View Article

The RedisCommandExecutionException, while Spring Data Redis execute CONFIG,...

I have a Spring Boot 3 based project. Which uses the Ridis server as DB.It is a simple project and everything is auto-configured by spring-boot-starter-data-redis moduleThe...

View Article

Shedlock with Spring and Redis

I'm using Shedlock with Spring Boot and Redis as Lock Provider.Everything seems to work fine. But when I manually go to the Redis during the execution of the task I see no specific KEY for the lock.On...

View Article


Spring-data-redis @Cacheable java.lang.ClassCastException:...

I am using spring-data-redis for caching data in my spring boot app. I am using Mongo as my primary data source and Redis as a cache. When I hit the API for the first time, it fetches record from Mongo...

View Article


A null pointer exception occurred while updating data in redis to the database

I made a blog project, I want to realize that every time users click on the blog, the page views will be automatically updated, I use redis to store data, and every once in a while, the data in redis...

View Article

Jedis sentinelpool connection faling noauth authentication required

I am trying to connect with Redis using the following Jedis client code. jedisPool = new JedisSentinelPool(redisProperties.getSentinel().getMaster(), redisProperties.getSentinel().getNodes(),...

View Article

'JedisConnectionFactory' threw exception; nested exception is...

I am trying to use Redis in my spring web project but getting some conflict. I am using the following jar in my...

View Article

@EnableRedisRepositories not working and gives error: Failed to read...

I am trying to integrate Redis into my spring web application but getting a lot of challenges. As I want to use Redis through the spring repository so add a @EnableRedisRepositories in the Redis...

View Article


Unable connect elasticache using spring-redis unknown host

I have the next issue in my project.I want to connect my AWS-elasticache, but it's not possibleHere my configuration.@Configuration@ComponentScan@EnableJpaRepositories@EnableRedisRepositoriespublic...

View Article

AWS Elastic Cache Redis java Spring redisson ClosedChannelException

I have an AWS Redis cluster with Cluster mode Enabled and Encryption at rest/transit Enabled with Transit encryption mode Preferred.I'm using Java spring with redisson version 3.12.0 .Below is my...

View Article


Spring data specify datasource for repository

I have a few spring data repositories for redis.We are in middle of transition to new redis server. To make it smooth, I need to write data to the old and new redises simultaneously.So I need to have...

View Article

Serialization and Deserialization Issue in Redis

I have two modules in Spring Boot Microservices ModuleA and ModuleB. Both modules share a common POJO class called CacheData, whose object is stored in Redis.ModuleA puts the data in redis usingprivate...

View Article


Serialization when adding to RedisAggregationRepository

I am having troubles with the serialization of the record that contains enum inside.So my record looks like this (simplified):@Builder@Jacksonizedpublic record NotificationData(... @NotNull Type...

View Article

jedis: Unexpected end of stream exception

Been getting random "unexpected end of stream" exceptions.this exception occur to a redis command:scan.but this exception doesn't always happen.at...

View Article

Spring Boot concurrent access to Redis

Starting to integrate Redis in a Spring Boot application that needs concurrent access to it (Redis), I need advice on the best practice in order to continue the implementation.Redis access is setup...

View Article
Browsing all 2204 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>