Skip to content
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

XREADGROUP reading backlog and new message Ruby code logic issue #269

Open
giridharkannan opened this issue Mar 14, 2022 · 0 comments
Open

Comments

@giridharkannan
Copy link

Hi,

In Redis streams documentation, for the XREADGROUP command, we have Ruby sample code describing how to read backlog and then new messages.
The count has been set to 10. The code will not read full backlog messages if the backlog size is > 10.
Also, it would be good if XREADGROUP supports an argument similar to > which would first give backlog messages and then the actual messages. This way, users can avoid worrying about processing backlog separately and actual messages separately and avoid making mistakes.

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

No branches or pull requests

1 participant