XREAD
Reads stream entries after a supplied ID.
Streams · Example verified
Syntax covered here
XREAD STREAMS key idThe case reads one existing stream from ID 0 without a BLOCK option.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> XADD events 1-0 event created
"1-0"
# connection: default
> XREAD STREAMS events 0
[["events",[["1-0",["event","created"]]]]]