Arguments
str
required
The key of the stream.
str
required
The consumer group name.
str
required
The consumer name to delete.
Response
Returns the number of pending messages the consumer had.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
result = redis.xgroup_delconsumer("mystream", "mygroup", "consumer1")
Delete a consumer from a consumer group.
result = redis.xgroup_delconsumer("mystream", "mygroup", "consumer1")
Was this page helpful?