Take ownership of stale pending messages.

Section: Streams

Claim idle pending messages

bash
bash
XCLAIM orders order-workers worker-2 60000 1710000000000-0

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Streams
Create a consumer group
Create a consumer group, creating the stream if missing.
OpenIn sheetbashsame section
Read via consumer group
Claim new messages for a consumer in a group.
OpenIn sheetbashsame section
Acknowledge processed entries
Acknowledge handled messages in a consumer group.
OpenIn sheetbashsame section
Inspect pending group messages
View pending entries awaiting acknowledgement.
OpenIn sheetbashsame section
Auto-claim idle messages
Incrementally claim stale pending entries.
OpenIn sheetbashsame section
Append an entry to a stream
Write a new stream message with autogenerated ID.
OpenIn sheetbashsame section