summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/xgroup-destroy.md
blob: 448468ba14adbfe290dfb352a81ee6f4781a3180 (plain)
1
2
3
4
5
6
7
The `XGROUP DESTROY` command completely destroys a consumer group.

The consumer group will be destroyed even if there are active consumers, and pending messages, so make sure to call this command only when really needed.

@return

@integer-reply: the number of destroyed consumer groups (0 or 1)