Github user gyfora commented on the pull request:
https://github.com/apache/flink/pull/1239#issuecomment-146467354
So my argument is that the overhead of implementing the Checkpointed
interface for simple counters , offsets and the like is simply too much (and
annoying).
We can also introduce some annotations that the user can use to tag the
state with. Then the only thing we need to make sure is so that these support
some custom checkpointing logic. (like the state checkpointer interface)
Another thing we should consider is that the Checkpointed interface will
never allow any lazy state access logic.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---