apache / apache/kvrocks

Support stream command XACKDEL and XDELEX

Open
#3,120 6 comments 1 reaction 1 assignee Claimed by @kirito632 View on GitHub
enhancement help wanted
Dominant language
C++
Stars
4.4k
Forks
658
Avg merge
1d 20h
Merged PRs (30d)
10

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues.

### Motivation

1. Streams Command Upgrades: New XDELEX and XACKDEL, and Extended XADD and XTRIM. Streams, a powerful message stream processing mechanism provided by Redis, supports efficient log collection, event-driven, and message queue scenarios. The commands and extensions added in version 8.2.0 significantly enrich the stream data manipulation capabilities: • XDELEX
This is a new message deletion command for Redis Streams, allowing users to delete specific messages from a stream by ID. This allows for proactive message cleanup within long-running streams, reducing memory usage and improving stream data manageability.
• XACKDEL
This is an enhancement to the consumer group acknowledgment (XACK) command, supporting the simultaneous deletion of acknowledged messages, addressing the limitation of traditional methods that only serve as acknowledgment markers and cannot purge data. • Extensions to XADD and XTRIM
The extended XADD supports more flexible message addition methods, while XTRIM adds more powerful pruning strategies to optimize stream length control, facilitating the management of continuously growing stream data. https://mp.weixin.qq.com/s/gdW-LuYbXlIuOshj0iJcGA

### Solution

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.