public void WaitForServersToSettle() { foreach (TempKafkaConfig config in this.Configs) { if (!ZkClient.WaitUntilExists(ZkUtils.BrokerIdsPath + "/" + config.BrokerId, TimeSpan.FromSeconds(5))) { throw new Exception("Timeout on waiting for broker " + config.BrokerId + " to settle"); } } }