XGROUP DELCONSUMER

Syntax
XGROUP DELCONSUMER key group consumer
Available since:
5.0.0
Time complexity:
O(1)
ACL categories:
@write, @stream, @slow,

XGROUP DELCONSUMER 命令从消费者组中删除一个消费者。

有时删除不再使用的旧消费者可能很有用。

请注意,消费者删除后,其所有待处理的消息将变为不可认领。 因此,强烈建议在从组中删除消费者之前,认领或确认所有待处理的消息。

RESP2/RESP3 回复

Integer reply: the number of pending messages the consumer had before it was deleted.
RATE THIS PAGE
Back to top ↑