Stream

XGROUP DESTROY

Delete an entire consumer group.

Arguments

keybodystrrequired

The key of the stream.

groupbodystrrequired

The consumer group name to destroy.

Response

int

Returns 1 if the group was destroyed, 0 if it didn't exist.

Destroy existing group
result = redis.xgroup_destroy("mystream", "mygroup")
Loading search…