GitHub user tzulitai opened a pull request:

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

    [FLINK-8993] [tests] Let general purpose DataStream job uses KryoSerializer 
via type extraction

    ## What is the purpose of the change
    
    The general purpose DataStream job previously only uses the 
`KryoSerializer` via a custom state serializer. This PR allows the job to  also 
use the `KryoSerializer` via Flink's type extraction.
    
    ## Brief change log
    
    - Adapt the state builders to be able to  supply a state class, instead of 
a state type serializer.
    - Let `DataStreamAllroundTestJob` specify state serializers via state 
classes instead of a direct custom serializer.
    
    ## Verifying this change
    
    This is a extension to existing end-to-end tests 
(`test-streaming-savepoint.sh`).
    
    ## Does this pull request potentially affect one of the following parts:
    
      - Dependencies (does it add or upgrade a dependency): (yes / **no**)
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (yes / **no**)
      - The serializers: (yes / **no** / don't know)
      - The runtime per-record code paths (performance sensitive): (yes / 
**no** / don't know)
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / **no** / don't know)
      - The S3 file system connector: (yes / **no** / don't know)
    
    ## Documentation
    
      - Does this pull request introduce a new feature? (yes / **no**)
      - If yes, how is the feature documented? (**not applicable** / docs / 
JavaDocs / not documented)


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

    $ git pull https://github.com/tzulitai/flink FLINK-8993

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

    https://github.com/apache/flink/pull/6413.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 #6413
    
----
commit 428d5427227343479b6d63daf7fced8f1bf9a69c
Author: Tzu-Li (Gordon) Tai <tzulitai@...>
Date:   2018-07-25T06:58:46Z

    [FLINK-8993] [tests] Let general purpose DataStream job uses KryoSerializer 
via type extraction

----


---

Reply via email to