XACK

Acknowledges a stream entry pending in a consumer group.

Streams · Example verified

Syntax covered here

XACK key group id

The case first delivers the entry with XREADGROUP, then acknowledges it in the same group.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> XADD events 1-0 event created
"1-0"
# connection: default
> XGROUP CREATE events workers 0
"OK"
# connection: default
> XREADGROUP GROUP workers alice STREAMS events >
[["events",[["1-0",["event","created"]]]]]
# connection: default
> XACK events workers 1-0
1