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 will be cleaned up on a best effort basis which is discussed in more detail below.
All state collection types support per-entry TTLs. This means that list elements and map entries expire independently.