Upstash Documentation

XCLAIM

Changes the ownership of pending messages from one consumer to another in a stream consumer group.
1 min read

Arguments#

keystrrequired#

The key of the stream.

groupstrrequired#

The consumer group name.

consumerstrrequired#

The consumer name that will claim the messages.

min_idle_timeintrequired#

The minimum idle time in milliseconds for messages to be claimed.

idsstrrequired#

The ID(s) of the message(s) to claim. Can be multiple IDs as separate arguments.

justidbool#

Return only the message IDs instead of the full message data.

Response#