You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/10/26 14:27:00 UTC

[jira] [Closed] (FLINK-19769) Reuse StreamRecord in SourceOutputWithWatermarks#collect

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

Aljoscha Krettek closed FLINK-19769.
------------------------------------
    Resolution: Fixed

master: 1c03e581

> Reuse StreamRecord in SourceOutputWithWatermarks#collect
> --------------------------------------------------------
>
>                 Key: FLINK-19769
>                 URL: https://issues.apache.org/jira/browse/FLINK-19769
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / DataStream
>            Reporter: Caizhi Weng
>            Assignee: Caizhi Weng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0
>
>
> {{SourceOutputWithWatermarks#collect}} always creates a new {{StreamRecord}} object which can be reused quite easily. We should reuse the {{StreamRecord}} for optimization.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)