XSETID

Syntax

  1. XSETID key last-id

Time Complexity: O(1)

ACL categories: @write, @stream, @fast

XSETID sets the last id of the specified stream. <key> must exists before executing the command. The <last-id> can’t be smaller than target stream top entry.

Return

Simple string reply: OK on success.