Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Invalid
-
1.12.0
-
None
Description
Right now, `DataStreamUtils#collectWithClient` is marked as deprecated in favor of the `DataStream#executeAndCollect()`. However, some integration tests (e.g. FileSourceTextLinesITCase) need the `DataStream#executeAndCollectWithClient` API to get JobClient to cancel the job after collected required output for unbounded source test.