blob: f65366d3c9b642e9c9ed6d59088638f831ab205b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
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 pending messages for the client, which are messages that were delivered but are yet to be acknowledged
* **idle**: the number of milliseconds that have passed since the consumer last interacted with the server
@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
2) 1) name
2) "Bob"
3) pending
4) (integer) 1
5) idle
6) (integer) 83841983
```
|