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.
consumer
str
required
The consumer name to delete.

Response

Returns the number of pending messages the consumer had.
result = redis.xgroup_delconsumer("mystream", "mygroup", "consumer1")