XPENDING
Summarizes a consumer group's pending entries.
Streams · Example verified
Syntax covered here
XPENDING key groupThe summary includes total count, ID bounds and consumer counts after XREADGROUP delivery. Per-consumer counts are integers in the tested RESP2 reply.
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
> XGROUP CREATE events workers 0
"OK"
# connection: default
> XREADGROUP GROUP workers alice STREAMS events >
[["events",[["1-0",["event","created"]]]]]
# connection: default
> XPENDING events workers
[1,"1-0","1-0",[["alice",1]]]