Flink framework provides the following features to handle state.
Data structure specific state primitives - Flink framework provides specific state primitives for different data structures such as lists and maps.
Pluggable state storages - Flink supports multiple pluggable state storage systems that store state in-memory or on disc.
Exactly-once state consistency - Flink framework has checkpoint and recovery algorithms, which guarantee the consistency of state in case of failures.
Store large state data - Flink has the ability to store very large application state data, of several terabytes, due to its asynchronous and incremental checkpoint algorithm.
Scalable Applications - Flink applications are highly scalable since the application state data can be distributed across containers.