XACK

Apply for Redis Developer Course Redis Regular Inspection / Technical Support Redis Enterprise Server

Acknowledge processing

After XREADGROUP, call XACK when processing is complete.
Usage: XACK key group ID.

Example

Command>XACK sensor-1234 CG-A 1538319053569-0
Result>(integer) 1
  • You can specify multiple IDs.
  • Without XACK the entries stay pending.

Syntax

XACK key group ID [ID ...]

  • Available since version 5.0.0.
  • Time complexity is O(log(N)), where N is the number of IDs.
  • Returns the number of IDs that were acknowledged.

<< XREADGROUP XACK XPENDING >>

Email 답글이 올라오면 이메일로 알려드리겠습니다.