mirror of https://github.com/dapr/docs.git
Updates for dynamic ttl
Signed-off-by: Elena Kolevska <elena@kolevska.com>
This commit is contained in:
parent
58a99d27b8
commit
954c61367a
|
|
@ -69,7 +69,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
|
|||
| failover | N | Property to enabled failover configuration. Needs sentinalMasterName to be set. Defaults to `"false"` | `"true"`, `"false"`
|
||||
| sentinelMasterName | N | The sentinel master name. See [Redis Sentinel Documentation](https://redis.io/docs/manual/sentinel/) | `""`, `"127.0.0.1:6379"`
|
||||
| maxLenApprox | N | Maximum number of items inside a stream.The old entries are automatically evicted when the specified length is reached, so that the stream is left at a constant size. Defaults to unlimited. | `"10000"`
|
||||
| minIDApprox | N | Minimum ID threshold for the stream. Entries with IDs smaller than the specified threshold are evicted, keeping the stream trimmed to only contain entries with IDs greater than or equal to this value. This can be used for time-based eviction since Redis stream IDs are in the format {timestamp-sequence}, where timestamp is in milliseconds since epoch. Defaults to none. | `"1742397526022-0"`
|
||||
| streamTTL | N | TTL duration for stream entries. Entries older than this duration will be evicted. This is an approximate value, as it's implemented using Redis stream's `MINID` trimming with the '~' modifier. The actual retention may include slightly more entries than strictly defined by the TTL, as Redis optimizes the trimming operation for efficiency by potentially keeping some additional entries. | `"30d"`
|
||||
|
||||
## Create a Redis instance
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue