Skip to content

Conversation

@keithgunning
Copy link

According to the official XAUTOCLAIM docs:

It transfers ownership to <consumer> of messages pending for more than <min-idle-time> milliseconds and having an equal or greater ID than <start>.

Skipping the 'start' message meant that when using the next-id from a previous call as a cursor to read multiple batches, the first message of each subsequent batch would be skipped. With this fix, all messages will be read. This behavior now matches that of official Redis.

@alicebob alicebob merged commit 34f130d into alicebob:master May 14, 2025
4 checks passed
@alicebob
Copy link
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants