avx-wlauer opened a new issue, #580: URL: https://github.com/apache/flink-agents/issues/580
### Search before asking - [x] I searched in the [issues](https://github.com/apache/flink-agents/issues) and found nothing similar. ### Description Support controlling TTL on Short Term memory. Short term memory is backed by Flink's standard MapState facility. Unlike Sensory memory, Short term memory is supposed to last beyond the current call and be available for future operations on the key. The current implementaiton doesn't specify a TTL on the MapState that underlies the short term memory, but in order to control the size of retained state for a long running pipeline, specifying this is important. A new API should be added that allows specifying a StateTtlConfig for the memory, which would get passed down and used when creating the underlying MapState. Sensory memory doesn't need this facility, as it isn't supposed to last beyond the current call. And Long term memory is handled differently. It also likely needs a way to specify TTL, but the mechanism should be completely different due to the architecture. ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
