Skip to content

Is this command implemented? #2147

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

Closed
wj8400684 opened this issue May 27, 2022 · 5 comments
Closed

Is this command implemented? #2147

wj8400684 opened this issue May 27, 2022 · 5 comments

Comments

@wj8400684
Copy link

XREADGROUP GROUP group consumer [COUNT count] [BLOCK milliseconds] [NOACK] STREAMS key [key ...] id [id ...]

@wj8400684 wj8400684 changed the title Haven't you implemented this command yet? Is this command implemented? May 27, 2022
@slorello89
Copy link
Collaborator

@wj8400684 - XREAD groups is implemented by StreamReadGroup/StreamReadGroupAsync, however, the blocking aspect of this command is not possible at the moment given the architectural constraints of this library.

I wrote an article about stream basics for .NET devs. I also added tutorials for those who absolutely need blocking stream reads using ServiceStack.Redis (written by an old colleague of the authors of this library) and CSRedis, which is a resurrected .NET Redis library - both of which do support the blocking reads.

@wj8400684
Copy link
Author

wj8400684 commented May 28, 2022

I read the source code of your framework. There is a request timeout mechanism. Is it because this can't be done?

@NickCraver
Copy link
Collaborator

The timeout version is blocking which currently isn't supported, but you could call it explicitly via IDatabase.Exec() (this isn't a simple operation). We're aiming to support blocking commands in the future (see #2055and #1961), but it's not a trivial thing and will take some time.

@wj8400684
Copy link
Author

OK, thanks

@wj8400684
Copy link
Author

Is it supported now?

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

No branches or pull requests

3 participants