GitHub user tombentley opened a pull request: https://github.com/apache/kafka/pull/4065
MINOR: Use OS-assigned port, in case 9092 is already bound I found this by running the tests while I happened to have a kafka broker running. @mjsax please could you review? You can merge this pull request into a Git repository by running: $ git pull https://github.com/tombentley/kafka MINOR-random-port Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4065.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4065 ---- commit f5cea3d5ba7011eb2909008ab6dd2b80fc261f8f Author: Tom Bentley <tbent...@redhat.com> Date: 2017-10-12T11:31:56Z MINOR: Use OS-assigned port, in case 9092 is already bound ---- ---