Prathmesh Sidana
12/15/2024, 8:02 PM.setUpdateType(StateTtlConfig.UpdateType.OnReadAndWrite)
then my TTL is reset on every read which is not my usecase as enriched properties may change frequently.
I tried using
.setUpdateType(StateTtlConfig.UpdateType.OnCreateAndWrite)
This works for my approach but issue is that if certain state has already expired and I try to access it after expiration, enrichment is empty for first event and after that it works fine until expiration. This can hamper analytics. Can some help here ??Prathmesh Sidana
12/24/2024, 8:44 AM