Github user NicoK commented on the issue:
https://github.com/apache/flink/pull/4358
Rebased and extended the PR as requested - the last two commits contain the
changes compared to the last review.
I tried to clean up some of the commits for a better merge but please note
that this PR also includes #4568, #4238 and #4402 fixes and commits. For some
of those, changes were applied afterwards in the review process which will
cause conflicts in their respective PRs that I will close (fixed after merging
this PR).
---