Redis · Command
XREAD
XREAD reads newer entries from one or more Redis streams. It can return available entries immediately or wait for new entries with BLOCK.
Last updated
- Since
- 5.0.0
Syntax
XREAD [COUNT count] [MAXCOUNT maxcount] [MAXSIZE maxsize] [BLOCK milliseconds] STREAMS key [key ...] id [id ...]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
XADDXRANGEXREVRANGEXREADGROUP