Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20871

Make DataStream#executeAndCollectWithClient() public

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stevenz3wu Steven Zhen Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: