XSETID

Syntax
XSETID key last-id [ENTRIESADDED entries-added]
  [MAXDELETEDID max-deleted-id]
Available since:
5.0.0
Time complexity:
O(1)
ACL categories:
@write, @stream, @fast,

The XSETID command is an internal command. It is used by a Redis master to replicate the last delivered ID of streams.

RESP2/RESP3 Reply

Simple string reply: OK.

History

  • Starting with Redis version 7.0.0: Added the entries_added and max_deleted_entry_id arguments.
RATE THIS PAGE
Back to top ↑