XSETID key last-id [ENTRIESADDED entries_added] [MAXDELETEDID max_deleted_entry_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
andmax_deleted_entry_id
arguments.