Claim new messages for a consumer in a group.

Section: Streams

Read via consumer group

bash
bash
XREADGROUP GROUP order-workers worker-1 COUNT 10 BLOCK 5000 STREAMS orders >

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
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
Claim idle pending messages
Take ownership of stale pending messages.
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