Skip to main content

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")
I