Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6258

Deprecate ListCheckpointed interface

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Hide
      The `ListCheckpointed` interface has been deprecated because it uses Java Serialization for checkpointing state which is problematic for savepoint compatibility. Use the `CheckpointedFunction` interface instead, which gives more control over state serialization.
      Show
      The `ListCheckpointed` interface has been deprecated because it uses Java Serialization for checkpointing state which is problematic for savepoint compatibility. Use the `CheckpointedFunction` interface instead, which gives more control over state serialization.

    Description

      Per discussion in https://github.com/apache/flink/pull/3508, we consider deprecating the `ListCheckpointed` interface to discourage Java serialization shortcuts for state registrations (towards this, the Java serialization shortcuts provided by the `OperatorStateStore` interface have already been deprecated in https://github.com/apache/flink/pull/3508).

      We should also remember to update https://ci.apache.org/projects/flink/flink-docs-release-1.2/dev/stream/state.html#using-managed-keyed-state if we decide to do this.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aljoscha Aljoscha Krettek
            tzulitai Tzu-Li (Gordon) Tai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                Slack

                  Issue deployment