redisson / redisson

Redisson - Valkey and Redis Java client. Complete Real-Time Data Platform. Sync/Async/RxJava/Reactive API. Over 50 Valkey and Redis based Java objects and services: Set, Multimap, SortedSet, Map, List, Queue, Deque, Semaphore, Lock, AtomicLong, Map Reduce, Bloom filter, Spring, Tomcat, Scheduler, JCache API, Hibernate, RPC, local cache..
https://redisson.pro
Apache License 2.0
23.39k stars 5.37k forks source link

RMapCache and RLocalCachedMap should use sharded pubsub in Redis Cluster 7.0+ #5126

Closed mrniko closed 1 year ago

mrniko commented 1 year ago

Done

ddinde commented 1 year ago

Any change clients needs to do in order to use this feature.

Currently we are doing this:

RMapCache<String, String> mapCache = redissonClient.getMapCache(cacheName)
mapCache.addListener(new ExpiryEventListnerImpl());

We are facing problem with 7.0.7, for more details https://github.com/redisson/redisson/issues/5447