You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Steven Zhen Wu (Jira)" <ji...@apache.org> on 2021/01/07 02:13:00 UTC
[jira] [Created] (FLINK-20871) Make
DataStream#executeAndCollectWithClient public
Steven Zhen Wu created FLINK-20871:
--------------------------------------
Summary: 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
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)