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:33:00 UTC
[jira] [Comment Edited] (FLINK-17695) Simplify SourceOperator by
using a utility SimpleVersionedListState
[ https://issues.apache.org/jira/browse/FLINK-17695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17109105#comment-17109105 ]
Stephan Ewen edited comment on FLINK-17695 at 5/16/20, 3:32 PM:
----------------------------------------------------------------
Fixed in 1.11.0 via
- 1cceb3ee3f109aefaeec440a87651053d0f4c191
- 61d0344cb973fd42c210d9a97f3ea1c0697445ce
(NOTE: The commit accidentally references the parent issue, not this subtask).
was (Author: stephanewen):
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)