Cyberness opened a new pull request, #20257:
URL: https://github.com/apache/flink/pull/20257

   ### What is the purpose of the change
   Create `KryoSerializer` for `SequenceNumber` class explicitly to allow 
disabling of Generic Types via disableGenericTypes() call.
   
   ### Brief change log
   1. Create KinesisStateUtil class with static method 
`createShardsStateSerializer` that explicitly assigns `KryoSerializer` to 
`SequenceNumber` class and use this method to initialize state
   2. Create unit test that checks for compatibility of previous 
`TypeInformation` based serializer and explicitly created `KryoSerializer`
   3. Replace `Mokito` calls with utility `MockStreamingRuntimeContext` to 
improve testability and unify initialization method of Streaming Runtime Context
   
   ### Verifying this change
   Added unit test to verify changed initialization of state.
   
   ### 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): 
no
   The serializers: no
   The runtime per-record code paths (performance sensitive): no
   Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
   The S3 file system connector: no
   
   ### Documentation
   Does this pull request introduce a new feature?: no
   If yes, how is the feature documented? (not applicable / docs / JavaDocs / 
not documented): no


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to