Description
org.apache.samza.metrics.JmxServer gets an ephemeral port for the registry but does a simple +1 to get the server port. This seems to cause occasional port collisions and should be improved.
Here's the offending line:
val serverPort = registryPort + 1 // In comparison to the registry port. Tiny chance of collision. Sigh.