Questions tagged [spring-data-redis-reactive]
29 questions
0
votes
0 answers
How to fix OutOfMemory happened with Lettuce Redis
We are using spring data Redis Reactive(with lettuce). Application instance freezed with OutOfMemory Error. Analysis of the heap dump shows that 128 instances of DefaultEventExecutor occupied the maximum of the heap space…

user1433374
- 185
- 1
- 9
0
votes
0 answers
Is Spring Data Redis Reactive capable of pipelining
I've seen previous unanswered questions and I still don't know whether it's possible. Spring Data Redis (non-reactive) has executePipelined but is there a reactive equivalent? Specifically, are executeInSession or just execute capable of pipelining…

Haf
- 375
- 1
- 3
- 13
0
votes
0 answers
spring data redis reactive multiGet passing empty collections
When using Spring Data Redis Reactive, the following code snippet causes an issue
val valueOperations = stringRedisTemplate.opsForValue()
valueOperations.multiGetAndAwait(emptyList())
The expectation is that the response will be Mono.empty(), but…

appk0
- 21
- 1
0
votes
2 answers
ReactiveRedisOperations not saving object in Redis
I am using ReactiveRedisOperations to save data objects in Redis and this call returns a Mono as per the api.
I notice that if I don't do anything with this Mono return than this code does not do anything.
Just trying to understand how this works.
I…

Mark1234
- 589
- 2
- 8
- 24
0
votes
1 answer
Chaining reactive calls to redis in Spring
I am trying to get all keys, and then fetch all their values using a ReactiveRedisTemplate in Spring Data Redis
(I know that scan is preferable, but I want to keep it simple for now, unless that is my issue)
code snnipet:
@Service
class Test {
…

Tomer Amir
- 1,515
- 4
- 27
- 54
0
votes
1 answer
Spring Data Redis Reactive: StreamReceiver to coroutines Flow
I'm writing an app that works with Redis Stream using Spring Data Redis. I'm using spring-data-redis with Lettuce. I can successfully write to the stream as I can validate it directly in Redis via redis-cli, and I see the messages are in Redis. When…

Peter
- 1,512
- 1
- 22
- 40
0
votes
0 answers
Redis Stream Producer Delivery Order
I have redis stream producer and i have question about the order of records that producer sends to redis.
Redis clients use TCP to execute commands. https://redis.io/topics/protocol#networking-layer
The messages can be delivered out of order in…

denizg
- 828
- 9
- 18
0
votes
1 answer
ReactiveRedisTemplate Cache Miss
How do we handle cache miss scenario using ReactiveRedisTemplate? Also, need to log and treat any error from underlying Redis cache as cache miss.
please suggest.

Rayyan
- 107
- 12
0
votes
1 answer
Can retrieve values manually set in redis-cli but unable to set new keys through Redis Reactive in Spring Boot
I'm using Spring Webflux + Reactive Redis, my goal is to use Redis as a file cache.
I was trying to set a key with a ~100MB ByteBuffer at first, didn't work. I double-checked with the debugger to make sure the file was actually being read into…

skathi
- 3
- 2
0
votes
1 answer
add module "spring integration redis" which print out "XXX is not eligible for getting processed by all BeanPostProcessors
I am integrating the spring integration-redis module so as to use the RedisLockRegistry. but I got the following logs on spring boot start up.
19: 2020/09/11 21:02:25,006 2312 [INFO] [main]…

strangerX
- 39
- 5
0
votes
1 answer
spring data redis reactive read LocaldateTime cast error
I use spring Data Redis Reactive framework and spring Boot version is 2.3.0.
Here is my Redis configuration:
@Bean("reactiveRedisTemplate")
public ReactiveRedisTemplate reactiveRedisTemplateString(ReactiveRedisConnectionFactory…

hero-zh
- 45
- 7
0
votes
1 answer
What is the correct way to chain redis operations in spring-data-redis-reactive?
In spring-data-redis-reactive, writing operations returns redis execution result which makes chaining operators really hard. Take the example reddit in Chapter 1 of Redis In Action. I try to re-implement like this:
@Service
public class…

leowang
- 481
- 5
- 12
0
votes
1 answer
async support missing in reactive redis connection
I am learning to use spring webflux and as part of it i developed an application which uses Redis to save and retrieve data. But the problem i face is when the request tries to connect to redis i get following error :
{
"timestamp":…

Urandoor Shilpa
- 61
- 1
- 1
- 9
-1
votes
1 answer
Is XClaim / claim supported in redis spring data - ReactiveRedisOperations.opsForStream()
To build a reliable message queue using redis streams, i am using spring-boot-starter-data-redis-reactive and lettuce dependency to process the messages from redis stream. Though i am able to add, read, ack and delete message through the api…

Nagendran
- 277
- 2
- 7