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.

History

  • Starting with Redis version 7.0.0: Added the entries_added and max_deleted_entry_id arguments.
Rate this page