You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/12/28 12:16:52 UTC

[GitHub] [flink] XComp edited a comment on pull request #14465: [FLINK-20594][runtime] Remove DefaultExecutionSlotAllocator and its Factory class.

XComp edited a comment on pull request #14465:
URL: https://github.com/apache/flink/pull/14465#issuecomment-751693135


   > I think the refactoring looks good to me. One thing I was wondering whether we can make the configuration of the `SlotSharingExecutionSlotAllocator` a bit easier or whether the nested builder is good enough for it.
   
   I counted 6 different parameter combinations which would need to be covered
   - `()` (i.e. no parameters for customization)
   - `(PhysicalSlotProvider, allocationTimeout:Time)`
   - `(SlotSharingStrategyFactory)`
   - `(availableSlotCount:int)`
   - `(PhysicalSlotProvider)`
   - `(allocationTimeout:Time)`
   
   Hence, I considered the builder being easier to read.


----------------------------------------------------------------
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.

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