Arguments
The key of the stream.
The maximum number of entries to keep in the stream. Mutually exclusive with
minid
.Use approximate trimming (more efficient). When
True
, Redis may keep slightly more entries than specified. Defaults to True
.The minimum ID to keep. Entries with IDs lower than this will be removed. Mutually exclusive with
maxlen
.Limit how many entries will be trimmed at most.
Response
The number of entries removed from the stream.