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)