Github user mbode commented on the issue:
https://github.com/apache/flink/pull/4586
I mean in general it is probably not the best thing to just rely on the
port not being available as a consensus algorithm of who should claim which
port. Then again, I could not think of a straightforward way to coordinate
across Job/TaskManagers without using something external, which would probably
get too involved for a metrics-related component â maybe there is something I
am missing?---
