flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kisimple <...@git.apache.org>
Subject [GitHub] flink pull request #6091: [FLINK-7789][DataStream API] Add handler for Async...
Date Tue, 29 May 2018 07:38:06 GMT
GitHub user kisimple opened a pull request:

    https://github.com/apache/flink/pull/6091

    [FLINK-7789][DataStream API] Add handler for Async IO operator timeouts

    ## What is the purpose of the change
    
    Currently Async IO operator does not provide a mechanism to handle timeouts. This PR fixs
the problem by adding a `timeout` method to `AsyncFunction`
    
    ## Brief change log
    
      - Add a `timeout` method to `AsyncFunction` for both Java and Scala API
      - Update `AsyncWaitOperator` to invoke `AsyncFunction#timeout` for Java API
      - Update `AsyncDataStream` to invoke `AsyncFunction#timeout` for Scala API
    
    ## Verifying this change
    
      - Add tests to `AsyncWaitOperatorTest`
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (yes)
      - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing,
Yarn/Mesos, ZooKeeper: (no)
      - The S3 file system connector: (no)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (yes)
      - If yes, how is the feature documented? (docs / JavaDocs)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kisimple/flink FLINK-7789

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/6091.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #6091
    
----
commit ccf1e55e09e94c3f7749b937594425a435f81184
Author: blueszheng <kisimple@...>
Date:   2018-05-10T06:41:34Z

    [FLINK-7789] Add handler for Async IO operator timeouts

----


---

Mime
View raw message