-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xpending(K, Consumer, Range, Limit) fails with ERR syntax error using Limit.unlimited() #1302
Comments
This issue happens in both 5.0.x and 6.0.x versions of Redis |
Thanks for reporting the issue. There's a bit of a conflict here. Redis changes the output format based on the input arguments. The Callers of this method expect a stable output and not one that changes across invocations. Therefore, we need to add an artificial limit and so we need to pick |
xpending with Range and Limit aims for a range format of the XPENDING command output. Previously, calling this method without Limit appended just the consumer name which is not a valid combination for that command. We now apply a synthetic limit of Long.MAX_VALUE to obtain the range format to avoid format changes or syntax errors.
xpending with Range and Limit aims for a range format of the XPENDING command output. Previously, calling this method without Limit appended just the consumer name which is not a valid combination for that command. We now apply a synthetic limit of Long.MAX_VALUE to obtain the range format to avoid format changes or syntax errors.
I am creating an application which operates on Redis streams using the commands Add, ReadGroup, Del, Ack, Pending and Claim using the dependency
spring-boot-starter-data-redis-reactive
and i have configured a bean for ReactiveRedisConnectionFactory as belowThen using the opsForStream, I am able to add/delete/ack/read/readgroup the message
But, the below snippet throws ERR syntax errror. where i am expecting PendingMessages, so that i can reclaim it.
Environment
Additional context
The below XPending commands works fine which produces PendingMessageSummary.
The text was updated successfully, but these errors were encountered: