summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/xgroup-delconsumer.md
blob: 9e73da89224683b9348b326f818960b2a5cf6719 (plain)
1
2
3
4
5
6
7
8
9
10
The `XGROUP DELCONSUMER` command deletes a consumer from the consumer group.

Sometimes it may be useful to remove old consumers since they are no longer used.

Note, however, that any pending messages that the consumer had will become unclaimable after it was deleted.
It is strongly recommended, therefore, that any pending messages are claimed or acknowledged prior to deleting the consumer from the group.

@return

@integer-reply: the number of pending messages that the consumer had before it was deleted