Skip to main content

Arguments

string
required
The key of the stream.
string
required
The consumer group name.
string
required
The minimum pending ID to return. Use ”-” for the first available ID.
string
required
The maximum pending ID to return. Use ”+” for the last available ID.
number
required
The maximum number of pending messages to return.

Response

Returns an array of pending message details.