Create a consumer group, creating the stream if missing.

Section: Streams

Create a consumer group

bash
bash
XGROUP CREATE orders order-workers $ MKSTREAM

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
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
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