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/16 15:32:00 UTC
[jira] [Resolved] (FLINK-17695) Simplify SourceOperator by using a
utility SimpleVersionedListState
[ https://issues.apache.org/jira/browse/FLINK-17695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephan Ewen resolved FLINK-17695.
----------------------------------
Resolution: Fixed
Fixed in 1.11.0 via 1cceb3ee3f109aefaeec440a87651053d0f4c191
(NOTE: The commit accidentally references the parent issue, not this subtask).
> 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
> Priority: Major
> 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)