Destroys a consumer group.
XGROUP
DESTROY
key group
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.
Integer reply: the number of destroyed consumer groups, either 0 or 1.
O(N) where N is the number of entries in the group’s pending entries list (PEL).
@slow @stream @write
XACK, XADD, XAUTOCLAIM, XCLAIM, XDEL, XGROUP, XGROUP CREATE, XGROUP CREATECONSUMER, XGROUP DELCONSUMER, XGROUP HELP, XGROUP SETID, XINFO, XINFO CONSUMERS, XINFO GROUPS, XINFO HELP, XINFO STREAM, XLEN, XPENDING, XRANGE, XREAD, XREADGROUP, XREVRANGE, XSETID, XTRIM.