Github user dawidwys commented on the issue:
https://github.com/apache/flink/pull/6294
I've rebased it on top of rich formatting feature for documentation,
therefore only the last commit applies to the issue.
I will also check the `DominantResourceCalculator` once again.---
