spring boot redis operation throw broken pipe error
We use redis in spring boot project. After running a period of time, the redis operation MAY throw a broken pipe error, but sometimes it will succeed. Restarting the service will resolve this problem,...
View ArticleHow to implement spring boot Redis multi tenancy?
I am facing issues while creating a Multitenant application using spring boot and Redis. I have used the same solution which is mentioned in How to implement multitenancy for Redis in spring boot. But...
View ArticleMessage converting to binary values whie logging to redis using log4j
These are the settings in the log4jproperties fileThe redis appender is by...
View ArticleJava Spring Boot no bean found using @Bean annotation on default methods
I'm having this error:Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.Reason: Failed to determine a suitable driver classI have tried a...
View ArticleJava Spring Boot: How do I implement a Redis Query with 2 fields as parameters?
I've seen people saying its possible like in here.But there is no implementation, only definition:@Repositorypublic interface StudentRepository extends CrudRepository<Student, String>{ Student...
View ArticleRedis cluster support when using HSET
I need to know is there a way to use the HSET command in Redis cluster mode (with sharding for the same hash), because in the HSET command we are specifying a specific hash to store the data in the...
View ArticleHow to pub/sub message to Redis cluster
My project is using Redis (Jedis client) as cache manager. here is bean i use to manipulate connection to redis cluster@Bean(destroyMethod = "close") @ConditionalOnProperty(value = "spring.cache.type",...
View ArticleDoes Vertx 3.9.0 supports Redis Json or not? Any other ways to achieve it?
I am working with Vertx 3.9.0, I am trying to get json data for a key from redis Server.redisConnection.send(Request.cmd(Command.GET).arg(key), handler->{ if(handler.succeeded()) { Response response...
View Articleebean cache issue with @ManyToMany relation
I got an exception when I try to basically read a @ManyToMany relation using ebean cache system (with io.ebean:ebean-redis). This is a SpringBoot application.The versions I am...
View ArticleHow to use consumer groups with Spring Data Redis for Redis Streams (keep...
I'm trying to use Spring Data Redis to consume a Redis Stream using consumer groups, but keep getting the following exception:Caused by: io.lettuce.core.RedisCommandExecutionException: NOGROUP No such...
View Articlejedis correctly manage connections
I have written a class where I have connection pool and pipelined and the way to use this class would be something like (i removed a loop, but setKey would be happening in the loop):private Redis redis...
View ArticleBuilding an app to synchronise watching movies on netflix, hulu etc [closed]
I have recently started developing an app using Firebase hosting. I imagined it to be an app that will be used by friends to watch films on streaming platforms together. It should synchronise the media...
View ArticleHow to read Redis Data in Laravel 5
Please I need help. This data is stored in Redis using Java Spring...
View Articlejava.lang.UnsatisfiedLinkError: no netty-transport-native-epoll in...
I'm trying to customize the keep-alive settings on a channel created by Lettuce Redis client. I have registered a NettyCustomizer, and within the NettyCustomizer#afterBootstrapInitialized method I am...
View ArticleLettuce throws NPE when execute hgetall command
I use spring-session-data-redis to manage sessions. It will get session data from redis before every request. But it throws a NPE when get session from redis.I found the exception was thowed from...
View ArticleRedisson Cache Map does not evict if process is terminated
I am using Redisson's RMapCache to handle some distributed collections in my application.The keys in these collections, should expire after some time, so when adding keys I set the...
View Articlespring-boot redis : How to invalidate all sessions of a user?
I'm new to redis. I've followed this tutorial to use HttpSession with redis.https://docs.spring.io/spring-session/docs/current/reference/html5/guides/boot.htmlNow my application has 'Sign out from all...
View ArticleException in thread “main” java.lang.NoClassDefFoundError:...
Hi I have a problem run the following code public static void main(String[] args) throws Exception{ try{ RedissonClient redisson = Redisson.create(); RMap map = redisson.getMap("myMap"); map.put("a",...
View ArticleQuarkus Redis client not using host from application.properties
Using Quarkus 1.12.2Final, the Redis client is not using the config properties I set for it in application.propertiesapplication.properties...
View ArticleLettuce throws NPE when the dependencis has spring-cloud-starter-sleuth
I use spring-session-data-redis to manage sessions. It will get session data from redis before every request. But it throws a NPE when get session from redis. And if I remove...
View Article