You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Nowojski (JIRA)" <ji...@apache.org> on 2019/01/23 17:39:00 UTC

[jira] [Closed] (FLINK-11282) Merge StreamRecordWriter into RecordWriter

     [ https://issues.apache.org/jira/browse/FLINK-11282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Piotr Nowojski closed FLINK-11282.
----------------------------------
    Resolution: Fixed

merged commit b12d392 into apache:master

> Merge StreamRecordWriter into RecordWriter
> ------------------------------------------
>
>                 Key: FLINK-11282
>                 URL: https://issues.apache.org/jira/browse/FLINK-11282
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Network
>            Reporter: zhijiang
>            Assignee: zhijiang
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{StreamRecordWriter}} is only used for streaming job which extends {{RecordWriter}}. The only difference in {{StreamRecordWriter}} is maintaining the {{OutputFlusher}} thread which can be migrated into {{RecordWriter}} because the {{flushAlways}} property in {{RecordWriter}} has relationship with {{OutputFlusher}}.
> To do so, we can introduce the special {{BroadcastRecordWriter}} which extends {{RecordWriter}} for improving broadcast selector for [FLINK-10662|https://issues.apache.org/jira/browse/FLINK-10662] . And the {{RecordWriter}} division is unified for both streaming and batch jobs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)