Redis Commands
- A
- B
- Client
-
Cluster
- Cluster-addslots
- Cluster-addslotsrange
- Cluster-bumpepoch
- Cluster-count-failure-reports
- Cluster-countkeysinslot
- Cluster-delslots
- Cluster-delslotsrange
- Cluster-failover
- Cluster-flushslots
- Cluster-forget
- Cluster-getkeysinslot
- Cluster-help
- Cluster-info
- Cluster-keyslot
- Cluster-links
- Cluster-meet
- Cluster-myid
- Cluster-myshardid
- Cluster-nodes
- Cluster-replicas
- Cluster-replicate
- Cluster-reset
- Cluster-saveconfig
- Cluster-set-config-epoch
- Cluster-setslot
- Cluster-shards
- Cluster-slaves
- Cluster-slots
- Cluster
- Command
- Config
- D
- E
- F
- G
- H
- I
- K
- L
- M
- O
- P
- Q
- R
- S1
- S2
- T
- U
- W
- X
- Z1
- Z2
Docs > Redis Commands > X > Xinfo-consumers
This command returns the list of consumers that belong to the <groupname>
consumer group of the stream stored at <key>
.
The following information is provided for each consumer in the group:
- name: the consumer's name
- pending: the number of entries in the PEL: pending messages for the consumer, which are messages that were delivered but are yet to be acknowledged
- idle: the number of milliseconds that have passed since the consumer's last attempted interaction (Examples:
XREADGROUP
,XCLAIM
,XAUTOCLAIM
) - inactive: the number of milliseconds that have passed since the consumer's last successful interaction (Examples:
XREADGROUP
that actually read some entries into the PEL,XCLAIM
/XAUTOCLAIM
that actually claimed some entries)
@reply
@array-reply: a list of consumers.
@examples
> XINFO CONSUMERS mystream mygroup
1) 1) name
2) "Alice"
3) pending
4) (integer) 1
5) idle
6) (integer) 9104628
7) inactive
8) (integer) 18104698
2) 1) name
2) "Bob"
3) pending
4) (integer) 1
5) idle
6) (integer) 83841983
7) inactive
8) (integer) 993841998