You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jiangjie Qin (Jira)" <ji...@apache.org> on 2020/06/15 17:44:00 UTC
[jira] [Resolved] (FLINK-18162) AddSplitEvents should serialize the
splits into bytes.
[ https://issues.apache.org/jira/browse/FLINK-18162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiangjie Qin resolved FLINK-18162.
----------------------------------
Resolution: Fixed
Merged to master:
f883f1190132f9dd6b37f1e5c8ae0e0d25f78333
Cherry-picked to release-1.11:
6cf60fda000d25baddfd7a2c3725eeecba77f886
> AddSplitEvents should serialize the splits into bytes.
> ------------------------------------------------------
>
> Key: FLINK-18162
> URL: https://issues.apache.org/jira/browse/FLINK-18162
> Project: Flink
> Issue Type: Bug
> Components: Connectors / Common
> Reporter: Jiangjie Qin
> Assignee: Jiangjie Qin
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 1.11.0
>
>
> {{AddSplitsEvent}} is a serializable at the moment which contains a list of splits. However, the {{SourceSplit}} is not a subclass of {{Serializable}}. We need to serialize the splits in the {{AddSplitsEvent}} using SplitSerializer before sending it over the wire and deserialize the splits on the reader side.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)