Redis · Command
XREADGROUP
XREADGROUP reads stream messages for a consumer in a consumer group. It can wait for new messages, track pending work, and optionally claim idle messages.
Last updated
- Since
- 5.0.0
Syntax
XREADGROUP GROUP group consumer [COUNT count] [MAXCOUNT maxcount] [MAXSIZE maxsize] [BLOCK milliseconds] [CLAIM min-idle-time] [NOACK] STREAMS key [key ...] id [id ...]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
XACKXGROUP CREATEXPENDINGXAUTOCLAIMXCLAIMXREADXADD