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

Remove deprecated state access methods

    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

        Issue Links

          Activity

            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: