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

Remove deprecated state access methods

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Hide
      We removed deprecated state access methods `RuntimeContext.getFoldingState(...)`, `OperatorStateStore.getSerializableListState(...)`, and `OperatorStateStore.getOperatorState(...)`. This means that some code that was compiled against Flink 1.10 will not work with a Flink 1.11 cluster. An example of this is our Kafka connector which internally used `OperatorStateStore.getSerializableListState`.
      Show
      We removed deprecated state access methods `RuntimeContext.getFoldingState(...)`, `OperatorStateStore.getSerializableListState(...)`, and `OperatorStateStore.getOperatorState(...)`. This means that some code that was compiled against Flink 1.10 will not work with a Flink 1.11 cluster. An example of this is our Kafka connector which internally used `OperatorStateStore.getSerializableListState`.

    Description

      Some methods for state access in the DataStream API are deprecated for three years (yes, indeed!) and are still around and confusing users. We should finally remove them.

      The methods are

      • RuntimeContext.getFoldingState(...)
      • OperatorStateStore.getSerializableListState(...)
      • OperatorStateStore.getOperatorState(...)

      Attachments

        Activity

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

          People

            manish.c.ghildiyal@gmail.com Manish Ghildiyal
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment