diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-07-17 07:34:57 +0000 |
commit | d71fd6264d58795c50b9350d7c39677b671e0896 (patch) | |
tree | 0aa9e0bd923a00b9ddda4e01af55a76ed314097c /iredis/data/commands/xack.md | |
parent | Releasing debian version 1.9.1-3. (diff) | |
download | iredis-d71fd6264d58795c50b9350d7c39677b671e0896.tar.xz iredis-d71fd6264d58795c50b9350d7c39677b671e0896.zip |
Merging upstream version 1.9.4.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/xack.md')
-rw-r--r-- | iredis/data/commands/xack.md | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/iredis/data/commands/xack.md b/iredis/data/commands/xack.md index 76b7c13..eb7ab83 100644 --- a/iredis/data/commands/xack.md +++ b/iredis/data/commands/xack.md @@ -1,5 +1,5 @@ -The `XACK` command removes one or multiple messages from the _pending entries -list_ (PEL) of a stream consumer group. A message is pending, and as such stored +The `XACK` command removes one or multiple messages from the _Pending Entries +List_ (PEL) of a stream consumer group. A message is pending, and as such stored inside the PEL, when it was delivered to some consumer, normally as a side effect of calling `XREADGROUP`, or when a consumer took ownership of a message calling `XCLAIM`. The pending message was delivered to some consumer but the @@ -17,9 +17,13 @@ entry about this message is also purged, releasing memory from the Redis server. @integer-reply, specifically: The command returns the number of messages successfully acknowledged. Certain -message IDs may no longer be part of the PEL (for example because they have been -already acknowledge), and XACK will not count them as successfully acknowledged. +message IDs may no longer be part of the PEL (for example because they have +already been acknowledged), and XACK will not count them as successfully +acknowledged. -```cli -XACK mystream mygroup 1526569495631-0 +@examples + +``` +redis> XACK mystream mygroup 1526569495631-0 +(integer) 1 ``` |