Quantcast
Channel: Is the flink MapState's TTL for the whole MapState instance or for each element in the MapState - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by MIkCode for Is the flink MapState's TTL for the whole MapState...

Hi your assumption is correct . If a TTL is configured and a state value has expired, the stored value will be cleaned up on a best effort basis. So the value might still be stored even if the TTL has...

View Article



Is the flink MapState's TTL for the whole MapState instance or for each...

I have a MapState in flink. And I set the ttl to 10 minutes. Is the ttl for the whole MapState instance or for each of the elements? val ttlConfig = StateTtlConfig .newBuilder(Time.minutes(10))...

View Article

Answer by tom yang for Is the flink MapState's TTL for the whole MapState...

Yes, flink supports ttl per entry.State Time-To-Live (TTL)A time-to-live (TTL) can be assigned to the keyed state of any type. If a TTL is ? configured and a state value has expired, the stored value...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images