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

[Redis 6.2] Add NOMKSTREAM option to XADD #1167

Merged
merged 1 commit into from
Nov 18, 2022

Conversation

wmontgomery-splunk
Copy link
Contributor

This adds the ability to add the NOMKSTREAM option to XADD. By default it does not add the option to the command, meaning that a stream will be created if it doesn't exist.

From the Redis documentation at: https://redis.io/commands/xadd/

Appends the specified stream entry to the stream at the specified key. If the key does not exist, as a side effect of running this command the key is created with a stream value. The creation of stream's key can be disabled with the NOMKSTREAM option.

References #978

test/lint/streams.rb Outdated Show resolved Hide resolved
test/lint/streams.rb Outdated Show resolved Hide resolved
@byroot byroot merged commit a8e00cb into redis:master Nov 18, 2022
@byroot
Copy link
Collaborator

byroot commented Nov 18, 2022

Thank you!

@wmontgomery-splunk wmontgomery-splunk deleted the wm/add_nomkstream_to_xadd branch November 18, 2022 23:06
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.

None yet

2 participants