XINFO CONSUMERS

Since 1.1.0Streams

Syntax

XINFO CONSUMERS key group

Returns, for each consumer of the group: its name, how many entries it has pending, the milliseconds since it last read (idle), and the milliseconds since its last read that returned entries (inactive).

Examples

> XINFO CONSUMERS jobs workers
1) 1) "name"
   2) "alice"
   3) "pending"
   4) (integer) 0
   5) "idle"
   6) (integer) 1
   7) "inactive"
   8) (integer) 1