Skip to content

Add support for XCLAIM in StreamOperations #2465

Closed
@zielarz25

Description

@zielarz25

XCLAIM operation was implemented in https://jira.spring.io/browse/DATAREDIS-1084 as a part of RedisStreamCommands, however is not accessible in StreamOperations (rel: #1688) what forces users to use complex low-level constructs like

redisTemplate
    .getConnectionFactory()
    .getConnection()
    .streamCommands()
    .xClaim(...);

It would be much more convenient to have a possibility to call high-level stream ops

redisTemplate.opsForStream().claim(...)

like for many other commands, especially while

redisTemplate.opsForStream().pending(...)

operation exists and is usually needed in the same scenarios.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions