Caizhi Weng created FLINK-19769:
-----------------------------------
Summary: 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
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)