Skip to content

Commit 6df81c0

Browse files
elena-kolevskaWhitWaldonelson-parente
authored
Adds a new component config option for Redis PubSub (#4591)
* Adds a new component config option for Redis PubSub Signed-off-by: Elena Kolevska <[email protected]> * Updates for dynamic ttl Signed-off-by: Elena Kolevska <[email protected]> --------- Signed-off-by: Elena Kolevska <[email protected]> Co-authored-by: Whit Waldo <[email protected]> Co-authored-by: Nelson Parente <[email protected]>
1 parent 4e38b8c commit 6df81c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

daprdocs/content/en/reference/components-reference/supported-pubsub/setup-redis-pubsub.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ The above example uses secrets as plain strings. It is recommended to use a secr
6969
| failover | N | Property to enabled failover configuration. Needs sentinalMasterName to be set. Defaults to `"false"` | `"true"`, `"false"`
7070
| sentinelMasterName | N | The sentinel master name. See [Redis Sentinel Documentation](https://redis.io/docs/manual/sentinel/) | `""`, `"127.0.0.1:6379"`
7171
| 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"`
72+
| 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"`
7273

7374
## Create a Redis instance
7475

0 commit comments

Comments
 (0)