Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
str
required
The key of the stream.
group
str
required
The consumer group name.

Response

Returns a list of consumer information. Each consumer is represented as a list of key-value pairs.
result = redis.xinfo_consumers("mystream", "mygroup")
[
  ["name", "consumer1", "pending", 0, "idle", 1000, "inactive", 1000],
  ["name", "consumer2", "pending", 2, "idle", 2000, "inactive", 2000]
]