francis-a opened a new pull request, #28897:
URL: https://github.com/apache/flink/pull/28897

   ## What is the purpose of the change
   
   Currently the number of threads used by the `ForStStateDataTransfer` class 
is hardcoded to 4. This PR proposes a new 
`state.backend.forst.checkpoint.transfer.thread.num` configuration option that 
allows for providing a custom thread number value.
   
   ## Brief change log
   - Added a new `state.backend.forst.checkpoint.transfer.thread.num` config 
option
   - Updated the `ForStResourceContainer` with a getter to return this option 
value
   - Updated `ForStStateDataTransfer` to provide the new config option value 
instead of the hardcoded default of 4
   - Removed the hardcoded default
   
   
   
   ## Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ## 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: (yes / no / don't know)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? yes
     - If yes, how is the feature documented?  Documentation has been added 
using the existing `ConfigOption` class
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to