We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The xpending command can return null for lowest, hightest and consumer
https://github.com/quarkusio/quarkus/blob/main/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/runtime/datasource/ReactiveStreamCommandsImpl.java#L367-L381
The text was updated successfully, but these errors were encountered:
/cc @Ladicek @cescoffier
Sorry, something went wrong.
/cc @cescoffier (redis), @machi1990 (redis)
The Redis documentation (https://redis.io/docs/latest/commands/xpending/) doesn't mention this, but after creating an empty stream and a consumer group, this is indeed possible:
127.0.0.1:6379> XADD mystream * name Sara surname OConnor "1737123500546-0" # has length 1 127.0.0.1:6379> XLEN mystream (integer) 1 127.0.0.1:6379> XTRIM mystream MAXLEN 0 (integer) 1 # is empty now 127.0.0.1:6379> XLEN mystream (integer) 0 127.0.0.1:6379> XGROUP CREATE mystream group55 0-0 OK # this shows the `nil` values in the XPENDING response 127.0.0.1:6379> XPENDING mystream group55 1) (integer) 0 2) (nil) 3) (nil) 4) (nil)
Successfully merging a pull request may close this issue.
The xpending command can return null for lowest, hightest and consumer
https://github.com/quarkusio/quarkus/blob/main/extensions/redis-client/runtime/src/main/java/io/quarkus/redis/runtime/datasource/ReactiveStreamCommandsImpl.java#L367-L381
The text was updated successfully, but these errors were encountered: