You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (Jira)" <ji...@apache.org> on 2020/05/14 14:00:00 UTC

[jira] [Created] (FLINK-17695) Simplify SourceOperator by using a utility SimpleVersionedListState

Stephan Ewen created FLINK-17695:
------------------------------------

             Summary: Simplify SourceOperator by using a utility SimpleVersionedListState
                 Key: FLINK-17695
                 URL: https://issues.apache.org/jira/browse/FLINK-17695
             Project: Flink
          Issue Type: Sub-task
          Components: API / DataStream
            Reporter: Stephan Ewen
            Assignee: Stephan Ewen
             Fix For: 1.11.0


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)