...
Page properties | ||||||||
---|---|---|---|---|---|---|---|---|
Document the state by adding a label to the FLIP page with one of "discussion", "accepted", "released", "rejected".
|
Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).
...
I believe it would be better for Flink state to adopt the approach used in the definition of Java collection interfaces, which do not throw any checked exceptions. Additionally, there have been previous discussions about eliminating all thrown exceptions in state-related interfaces and instead providing more specific unchecked exceptions in implementations (as mentioned in Stephan Ewen's comments). Therefore, this FLIP takes these ideas into account and proposes to reorganize the state-related exceptions in a more specific and clear way.
Proposed Changes & Public Interfaces
This FLIP proposes a change to the state API that is annotated as @PublicEvolving and targets version 12.190 . The main changes are:
1. Remove all the Exception
and IOException
in signature of state-accessing interfaces
...
Some tests checking if the new types of exception are thrown will be added.
Rejected Alternatives
None for nowTargeted at version 1.19 or 1.20.