Skip to content

Added Redis DIGEST command support for connection and template layer.#3333

Open
Dgramada wants to merge 1 commit intospring-projects:mainfrom
Dgramada:add-DIGEST-command
Open

Added Redis DIGEST command support for connection and template layer.#3333
Dgramada wants to merge 1 commit intospring-projects:mainfrom
Dgramada:add-DIGEST-command

Conversation

@Dgramada
Copy link
Contributor

This PR adds support for the new Redis DIGEST command, available since Redis 8.4.0. The DIGEST command returns the XXH3 hash digest of a string value stored at a key, represented as a 16-character hexadecimal string.

The hash digest can be used for efficient comparison operations without needing to compare full string content. It integrates with Redis's SET command options (IFDEQ/IFDNE) and DELEX command for conditional operations based on value digests.

The PR adds methods for both reactive and synchronous template and connection layers.

  • You have read the Spring Data contribution guidelines.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

Signed-off-by: Yordan Tsintsov <yordan.tsintsov@redis.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants