Skip to content

Add support for Redis Streams Idempotent Production#3693

Merged
ofekshenawa merged 3 commits intomasterfrom
add-support-for-streams-idempotent
Jan 28, 2026
Merged

Add support for Redis Streams Idempotent Production#3693
ofekshenawa merged 3 commits intomasterfrom
add-support-for-streams-idempotent

Conversation

@ofekshenawa
Copy link
Copy Markdown
Collaborator

This PR adds support for Redis 8.6+ Streams Idempotent Production feature, enabling at-most-once production semantics to prevent duplicate entries.
The implementation:

  • Extends XAddArgs with three new fields (ProducerID, IdempotentID, IdempotentAuto) to support both manual idempotent IDs (IDMP) and auto-generated IDs based on message content (IDMPAUTO)
  • Adds a new XCFGSET command via XCfgSet method to configure idempotent production settings (duration and maxsize),

@ofekshenawa ofekshenawa marked this pull request as ready for review January 26, 2026 14:55
@ofekshenawa ofekshenawa merged commit 63ed1fd into master Jan 28, 2026
70 of 71 checks passed
@ofekshenawa ofekshenawa deleted the add-support-for-streams-idempotent branch January 28, 2026 16:57
@elena-kolevska
Copy link
Copy Markdown
Contributor

@ofekshenawa @ndyakov we're missing the new fields in the XINFO STREAM response

@ndyakov
Copy link
Copy Markdown
Member

ndyakov commented Jan 29, 2026

@elena-kolevska they are addressed in the base branch.

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.

3 participants