Questions tagged [redisson]

Redisson - distributed Java objects and services (Set, Multimap, SortedSet, Map, List, Queue, BlockingQueue, Deque, BlockingDeque, Semaphore, Lock, AtomicLong, CountDownLatch, Publish / Subscribe, Bloom filter, Remote service, Spring cache, Executor service, Live Object service, Scheduler service) on top of Redis server

370 questions
0
votes
1 answer

Can redisson java client detect a restart of a failed master-replica pair in a cluster topology?

My Spring boot application uses redisson 3.3.0 to gain access to a redis cluster topology with the following YML configuration: redis: cluster: nodes: ${CLUSTER_HOST}:6379 read-mode: 'MASTER' connections: 125 max_wait_millis:…
JavaSloth
  • 435
  • 1
  • 4
  • 10
0
votes
2 answers

How to get value of a key in redis cluster using redisson client

I am trying to get value of a key in redis cluster using redisson client . Config config = new Config(); config.useClusterServers() .addNodeAddress("redis://localhost:6380","redis://localhost:6379","redis://localhost:6381"); …
Elsayed
  • 2,712
  • 7
  • 28
  • 41
0
votes
3 answers

Spring Redisson Sentinel Error - At least two sentinels are required

I am using Sentinel mode for Redis. I am using Redisson Client version 3.9.1 org.redisson redisson-spring-data-20
rohanagarwal
  • 771
  • 9
  • 30
0
votes
1 answer

Amazon EC2 to AWS Elasticache Redis connection problem

I am connecting to AWS Elasticache Redis via Redisson from my Amazon EC2 instance. After lots of request of redis connection, I get the following issue which halt my program execution. The problem doesn't occur for few request to redis interation,…
0
votes
1 answer

Can multiple independent applications using Redisson share same clustered Redis?

So I would like to ask if there will be any contention issues due to shared access to the same Redis cluster by multiple separate applications which use Redisson library (each application in turn has several instances of themselves). Does Redisson…
Tw1sty
  • 373
  • 7
  • 16
0
votes
1 answer

Redission-netty thread is not shutting down

I am using Redission for locking purpose in spring which have the maven dependency version of 3.5.3 and netty-all dependency version of 4.1.22.final. But my Java VisualVM showing that redission-netty thread is always in running stage . Can someone…
Manshavi Kumar
  • 133
  • 2
  • 9
0
votes
1 answer

java.net.UnknownHostException: redisson-netty-2-6 ERROR DNSMonitor

redissonClient.getNodesGroup().pingAll() Returning true but still getting the exception -> [10-09-2018 21:00:05.337] [redisson-netty-2-6] [ERROR] DNSMonitor$1$1:98 cr_id= parent_reqid= reqid= Unable to resolve xxxx.redis.cache.windows.net…
0
votes
1 answer

Error creating bean with name 'redisson' defined in class path resource in Spring boot

I am facing some issue while connecting Redis("Using Redisson") with spring boot. At aplication Start time show below error. "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'redisson' defined in class path…
Nilesh Madhak
  • 13
  • 1
  • 1
  • 7
0
votes
1 answer

Redisson: Why reactive client doesn't have PermitExpirableSemaphore?

I am using redisson reactive Java client. In non reactive client one could get an expirable Semaphore as:- RPermitExpirableSemaphore semaphore = redisson.getPermitExpirableSemaphore("mySemaphore"); But If I create a reactive client, I can only find…
Mangat Rai Modi
  • 5,397
  • 8
  • 45
  • 75
0
votes
1 answer

how to configure eviction policy like LFU and LRU in jcache

I want to set LFU eviction policy for redis. how to configure eviction policy like LFU and LRU with the help of jcache API or redisson API?
akshaya
  • 99
  • 9
0
votes
2 answers

How to set redis "session key prefix" using RedissonSessionManager

I want to use "redisson-tomcat" library to store tomcat session in redis. But I need to add key prefix before storing sessions in redis. Is there any way to add session key prefix when storing sessions in redis ? As per my finding I need to…
faisalbegins
  • 39
  • 1
  • 7
0
votes
1 answer

Can't access spring bean inside redisson schedule task

I am using redisson task scheduler, it works well but now we require to use spring bean inside it. We have tried to Autowire bean, but it doesn't work. Issue might be due to Redisson class loader not sure. Is it a limitation of it? Do we have any…
0
votes
1 answer

Redisson not shutting down keeps Java VM open

I have the following simple code: RedissonClient redisson = Redisson.create(); RMap mymap = redisson.getMap("mymap"); mymap.put("field1", "value1"); mymap.put("field1", "value2"); redisson.shutdown(); logger.info("Here but JVM…
Mustafa
  • 10,013
  • 10
  • 70
  • 116
0
votes
1 answer

Cache java POJOs in AWS redis using RedissonClient

I have a requirement to cache the entity object (as JSON String) in order to save database hits. I want to use AWS Redis as cache server and RedissonClient. I am new to this caching.. Can you please tell me what is a best approach to cache these…
0
votes
3 answers

Expired Redisson Keys still visible in Redis Cli

I just learnt about Redis and Redisson as well. Basically I am trying to use Redis for storing AcessTokens/RefreshTokens used for authorization in my app. So I want to store the tokens with an expiration time. I used Spring Data Redis to store the…