FEATURE PREVIEW: Add Actor State TTL support
Open
good first issue
P1
- Dominant language
- Java
- Stars
- 300
- Forks
- 230
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 4
Description
Add first class API support for Actor State TTL https://github.com/dapr/dapr/issues/5899
A dedicated function to Actor State should be created. Psudo code: `func (key string, value string, ttl duration)`. It should be made clear in the SDK documentation/comments that users should always use this function, unless they have specifically created some kind of Actor State clean up out of band of Dapr or don't have an issue with the Actor State store keep state and grow "forever".
Please see the [go-sdk](https://github.com/dapr/go-sdk/pull/383/files) for implementation reference.
Contributor guide
Assessment
This issue has not been assessed yet.