Class XPendingSummary
java.lang.Object
io.quarkus.redis.datasource.stream.XPendingSummary
The result of the xpending command when using the summary form.
When using the summary form of xpending, the command outputs the total number of pending messages for this consumer group, followed by the smallest and greatest ID among the pending messages, and then list every consumer in the consumer group with at least one pending message, and the number of pending messages it has.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of every consumer in the consumer group with at least one pending message, and the number of pending messages it has.Gets the highest message id that was not yet acknowledged.Gets the lowest message id that was not yet acknowledged.long
Gets the number of message waiting for acknowledgement
-
Constructor Details
-
XPendingSummary
-
-
Method Details
-
getPendingCount
public long getPendingCount()Gets the number of message waiting for acknowledgement- Returns:
- the number of message not yet acknowledged
-
getLowestId
Gets the lowest message id that was not yet acknowledged.- Returns:
- the lowest message id
-
getHighestId
Gets the highest message id that was not yet acknowledged.- Returns:
- the highest message id
-
getConsumers
Get the list of every consumer in the consumer group with at least one pending message, and the number of pending messages it has.- Returns:
- the map composed of consumer -> number of message
-