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

Internal caching of encoded/decoded Redisson keys

We are experimenting some performance issue in our Redisson architecture due to the codec encode and decode phases.Changing codec works a little but is not enought, so we are in mind to avoid...

View Article


java.lang.NoSuchMethodError: 'java.util.Optional...

I am building a multiservice application, where I have two different services that need to be run apart.Each service has its own pom.xml file. One of the services, throws an exception during...

View Article


Why is there difference in data saved when using redisson.getLocalCachedMap...

if i use Redisson local cache option redisson.getLocalCachedMap() the data saved in redis is different when i compare with redisson.getMapCache()if i have to consume the data stored using the local...

View Article

How run docker redis in cluster mode?

I started my redis docker container with: docker run --privileged=true -p 6379:6379 --name TestRedis -d redisWhen I try to use it from Spring Redis in clustered mode, I get the error:Caused by:...

View Article

Java Spring application won't run in debug mode

I'm a frontend developer so my knowledge of Java, Spring and IntelliJ is virtually zero.I accidentally deleted my company's repo on my local machine so I re-cloned it back from GitHub. I was unable to...

View Article


Are Radisson Nodes Running on Redis Server Nodes?

I am testing RScheduledExecutorService of Redisson. From this Artice: https://dzone.com/articles/distributed-tasks-execution-and-scheduling-in-javaI understand the scheduling tasks (Java Callable or...

View Article

RedisCommandExecutionException in Java Lettuce Redis client

I have a problem with a Java Lettuce Redis client with ACL: I get an io.lettuce.core.RedisCommandExecutionException: WRONGPASS invalid username-password pair or user is disabled exception.I have a...

View Article

Why I am getting null pointer exception when using hashoperations in redis...

public class CacheLoadTester { String c; private int redisPort=6379; private String redisHost="localhost"; private String redisDir="J:/resources"; private String redisSize="128M"; private String...

View Article


Connecting a Redis database to Azure Cloud with Java

Good Day I have this error in my Java code. I'm trying to link my database to azure cloud. I used list commands:Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 11, Size: 11 at...

View Article


Configure a new serializer for spring-boot redis cache config

I have been trying to change the default serializer for the spring-boot redis cache because i want to change from the Default to one of the Jackson2Json implementations. There are two implementations...

View Article

Collection Object lost due to redis TTL using redission client

We are using Redission client for java to get the data from redis but object gets deleted from collection due to TTL.ExampleWe are trying the below approach to get the data from Redis with TTL.final...

View Article

Spring Boot Application is not starting with Invalid Redis Sentinel Property...

I am trying to start my application with Redis Sentinel in my local System.When I start the application its being stopped with below error. I have started redis in my windows machine with master on...

View Article

Nested exception is io.lettuce.core.RedisException: java.io.IOException: An...

I am using redis cache in my springboot application. Suddently it sarted giving the below exception:ERROR 1876 --- [http-nio-8004-exec-6] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for...

View Article


using redisson local caching with RLO

I am using redisson as a redis client solution.looking for a solution of local caching implementation for complex java classes.Is it possible to use RLO in the following way:RLocalCachedMap<String,...

View Article

How to configure @Transactional support to Redis in Springboot?

I am currently working on a project which is using Redis mainly for caching purposes, I am using Oracle as the main database and Spring Data JPA to handle the database layer in my project. I need to...

View Article


How to solve RedisConnectionFailureException?

I have clustered Redis server with 6 nodes in my local machine. But When I try to save a user with my spring boot application I am getting the above mentioned exception in the http response.I already...

View Article

Unable to fetch any key with Redis template in Spring boot application

in my Spring boot application, I have written following code snippet to initialize Redis Template and fetch all keys in Redis:@Bean public RedisTemplate<String, Object> redisTemplate(...

View Article


What's the role of spring boot cache annotations in a application which use...

I have seen that there are set of inbuilt spring boot annotations available to perform caching in a spring boot application. As far as I know when it comes to Redis it's an famous data store which is...

View Article

Micronaut Redis Lettuce Cache Conditionally Enable

For Micronaut Redis, is there a way to toggle whether or not caching is enabled using configuration properties? I see some other available caches have the ability to be enabled/disabled via...

View Article

Jedis pool stops working when another instance uses PubSubs

I'm currently creating 2 java programs which should (but must not) work side by side.For simplicity call them S1 and S2.S1 is a simple API that pulls or pushes data from/to redis. For this I initialize...

View Article
Browsing all 2203 articles
Browse latest View live


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