Replaced hardcoded Kafka port with free ports