Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
string
required
The key of the stream.
group
string
required
The consumer group name.
id
string | string[]
required
The ID(s) of the message(s) to acknowledge. Can be a single ID or an array of IDs.

Response

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