Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10740 FLIP-27: Refactor Source Interface
  3. FLINK-17695

Simplify SourceOperator by using a utility SimpleVersionedListState

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.11.0
    • API / DataStream
    • None

    Description

      The SourceOperator has some boiler plate code taking the bytes out of the ListState<byte[]> and applying the SimpleVersionedSerializer to turn them into the splits.

      This repeated code can be simply encapsulated in a utility class SimpleVersionedListState<T> which wraps a ListState<byte[]> and applies the serialization and de-serialization.

      Attachments

        Activity

          People

            sewen Stephan Ewen
            sewen Stephan Ewen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: