[cluster] fix brokerURL to be able to work with external brokers