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

Obtain values from RMap, based on key pattern, asynchronously #5918

Open georgiev-kalin opened 6 months ago

georgiev-kalin commented 6 months ago

Hello!

We are trying to obtain values from RMap, based on a certain key pattern. However, all methods available now are synchronous (e.g. values(String keyPattern), entrySet(String keyPattern)).

Would you consider providing an asynchronous method for this behaviour or recommend an approach to achieve the same result?

Thank you in advance!

Redisson version: 3.30.0

georgiev-kalin commented 1 month ago

Hello @mrniko,

I was wondering, have you planned a release date for this feature request - I see its currently listed as milestone for 3.37.0, which has been released at the beginning of this month, but it seems that the feature is not part of it?

Kind Regards, Kalin

mrniko commented 1 month ago

Hello @georgiev-kalin,

You're right, it hasn't been implemented yet.

Did you try to use RMapReactive or RMapRx keyIterator(int) method as workaround?