Skip to main content

Arguments

key
str
required
The key of the stream.
group
str
required
The consumer group name.
ids
str
required
The ID(s) of the message(s) to acknowledge. Can be multiple IDs as separate arguments.

Response

The number of messages successfully acknowledged.
result = redis.xack("mystream", "mygroup", "1638360173533-0")
I