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)