Stream
XGROUP DELCONSUMER
Delete a consumer from a consumer group.
Arguments
keybodystrrequired
The key of the stream.
groupbodystrrequired
The consumer group name.
consumerbodystrrequired
The consumer name to delete.
Response
int
Returns the number of pending messages the consumer had.
Delete existing consumer
result = redis.xgroup_delconsumer("mystream", "mygroup", "consumer1")