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

java.lang.IllegalAccessException: class...

I was trying to implement Redis caching for SpringBoot app which exposes Rest API. Important code snippets and maven build file enclosed.Start-up...

View Article


Java ResiSearch FT.SEARCH results to json

I am new to RedisSearch. I have a Java client. What is the easiest way to parse this sample FT.SEARCH result into JSON or POJO or something more useful?Sample result from FT.SEARCH (actually a...

View Article


How to make one subscriber to process message (consider having more than one)...

In my project , I've created a simple pub/sub topic with radisson (https://github.com/redisson/redisson) . Publisher will publish some message and there will be multiple subscribers running on...

View Article

Redisgraph find shortest path between 2 nodes

I am new to using graph tech . Below is one sample data i have , i want to put this in redis graph and find the shortest distance between 2 points...

View Article

Cannot connect to clustered AWS Elasticache for Redis

I have created a cluster on AWS Elasticache for Redis. The cluster operates in cluster mode enabled. There is 1 shard with 2 nodes currently created.I'm trying to connect to the cluster through bastion...

View Article


How to do Mass insertion in Redis using JAVA?

Hi I need to do multiple insertions of the form SADD key valueI have the key value pair and needed to know how to perform mass insertions using JAVA . I have written a file in the Redis Protocol. How...

View Article

Java how to Uni.createFrom().future() and return that Uni from the enclosing...

I am very new to Java and Mutiny.As indicated below, my test function asks Redis for the value of key "foo" which is "bar". That is working and the Future onCompleted() gets "bar".So far so good.I have...

View Article

How to keep listening for messages with Vertx and Redis?

I have a Listener like this:public class Listener extends AbstractVerticle { public static void main(String[] args) { Launcher.executeCommand("run", Listener.class.getName()); } @Override public void...

View Article


Can the redis template throw a connectimeout exception when executing a redis...

I am a bit confused about the difference between connect timeout and read timeout. I understand that redis may throw a connect timeout exception when the application starts and sets the initial...

View Article


ReactiveRedisTemplate opsForValue().set not working

I am trying to save oauth login credentials in redis . Using spring oauth2 library, and spring redis.My saveAuthorizedClient method should be saving the key/val pair in redis, but nothing is being...

View Article

Why do I get a SocketTimeoutException when trying to connect to ElasticCache...

I am trying to connect my Spring Boot project to ElasticCache Redis in AWS. However, I get this error:Cannot get Jedis connection; nested exception is...

View Article

RedisConnectionException: Unable to connect

i have local.yaml file and dev.yaml file if i put redis config local.yaml or dev.yaml with other value its throwing RedisConnectionException: Unable to connect , but if create a new properties file put...

View Article

I'm not able to connect to Redis from spring 5.3.18 tomcat server

redis.clients.jedis.exceptions.JedisConnectionException: java.net.SocketException: Connection or outbound has been closed

View Article


Redis Connection Loss and Counter Value

I have a worker application , which consumes messages from queue and update(INCRBY) the successfully processed message count , failed message count to Redis, using lettuce libraryI want this counter to...

View Article

Redis Socket Connect Intermittent

Intermittently we are getting socket connection exception from Redis. It generally occurs once in 100 times. In my client i have put I am sharing Exception...

View Article


Redis - Consider renaming one of the beans or enabling overriding by setting...

I am developing Spring Boot + Spring Data Redis example. In this example, I'm developing the code for the RedisMessageListenerContainer and define the corresponding bean here.Now when I run the...

View Article

Is it possible to store Objects in redis against Lock key while Acquiring...

We are using redisson's distributed locks in order to avoid concurrency issue in our distributed environment but while acquiring the lock I also want to save some meta data like userId (random UUID) to...

View Article


Is the taskId globally unique in a Redisson distributed scheduler service?

So I could not find any confirmation in the official documentation on the uniqueness of the taskId returned after scheduling a task. Is the taskId globally unique (between all the Redisson nodes) or is...

View Article

Redisson client ; RedisTimeoutException issue

I am using Google cloud managed redis cluster(v5) via redisson(3.12.5)Following are my SingleServer configurations in yaml filesingleServerConfig: idleConnectionTimeout: 10000 connectTimeout: 10000...

View Article

java.net.ConnectException: Connection refused: no further information

I am implementing Spring Data with Redis cache, MYSQL, JPA Hibernate CRUD API . Cacheing is not working for controllers I used and not reflecting but for getmapping and postmapping its working because...

View Article
Browsing all 2203 articles
Browse latest View live


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