Reputation: 141
I would like to receive all the pending messages from PEL(Pending entry list) for a given stream and a consumer group.
Problem is that XPENDING command has a mandatory count variable. But I don't know how many pending messages beforehand. I just want to list all the pending messages. So how to handle this properly ?
XPENDING mystream group55 - + 10
Upvotes: 0
Views: 2971
Reputation: 824
You can use the output of XAUTOCLAIM as the input for XACK instead of using XPENDING
Upvotes: 0