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

Add initial stream commands to protobuf. #998

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

shachlanAmazon
Copy link
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@shachlanAmazon shachlanAmazon requested a review from a team as a code owner February 19, 2024 17:08
XRead = 72;
XAdd = 73;
XReadGroup = 74;
XGroup = 75;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XGroup -> XGroupCreate , XGroupDestroy

@@ -350,6 +350,13 @@ fn get_command(request: &Command) -> Option<Cmd> {
RequestType::HLen => Some(cmd("HLEN")),
RequestType::Echo => Some(cmd("ECHO")),
RequestType::ZPopMin => Some(cmd("ZPOPMIN")),
RequestType::XAck => Some(cmd("XACK")),
RequestType::XAdd => Some(cmd("XADD")),
RequestType::XReadGroup => Some(cmd("XREAD")),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some(cmd("XREADGROUP")) 👀

@shachlanAmazon shachlanAmazon merged commit 44ef9a9 into valkey-io:main Feb 22, 2024
39 of 40 checks passed
@nihohit nihohit deleted the stream-enum branch February 22, 2024 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants