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

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 Article


How 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 Article


Image may be NSFW.
Clik here to view.

Message converting to binary values whie logging to redis using log4j

These are the settings in the log4jproperties fileThe redis appender is by...

View Article

Java 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 Article

Java 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 Article


Redis 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 Article

How 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 Article

Does 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 Article


ebean 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 Article


How 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 Article

jedis 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 Article

Building 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 Article

How to read Redis Data in Laravel 5

Please I need help. This data is stored in Redis using Java Spring...

View Article


java.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 Article

Lettuce 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 Article


Redisson 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 Article

spring-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 Article


Exception 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 Article

Quarkus 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 Article

Lettuce 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
Browsing all 2222 articles
Browse latest View live


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