You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Steven Zhen Wu (Jira)" <ji...@apache.org> on 2021/01/12 16:15:00 UTC
[jira] [Closed] (FLINK-20871) Make
DataStream#executeAndCollectWithClient() public
[ https://issues.apache.org/jira/browse/FLINK-20871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steven Zhen Wu closed FLINK-20871.
----------------------------------
Resolution: Invalid
> Make DataStream#executeAndCollectWithClient() public
> ----------------------------------------------------
>
> Key: FLINK-20871
> URL: https://issues.apache.org/jira/browse/FLINK-20871
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream
> Affects Versions: 1.12.0
> Reporter: Steven Zhen Wu
> Priority: Major
> Labels: pull-request-available
>
> Right now, `DataStreamUtils#collectWithClient` is marked as deprecated in favor of the `DataStream#executeAndCollect()`. However, some integration tests (e.g. [FileSourceTextLinesITCase|https://github.com/apache/flink/blob/master/flink-connectors/flink-connector-files/src/test/java/org/apache/flink/connector/file/src/FileSourceTextLinesITCase.java#L187]) need the `DataStream#executeAndCollectWithClient` API to get JobClient to cancel the job after collected required output for unbounded source test.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)