title: Is there a way to configure the Kafka client timeout settings in Spring Cloud Data Flow?
body: <p>When starting a Spring Cloud Data Flow stream, quite often the apps fail to deploy on my machine because of various Kafka related errors. For instance:
  <code>org.springframework.cloud.stream.binder.BinderException: Cannot initialize binder
      [...]
      Caused by: kafka.common.KafkaException: fetching topic metadata for topics [Set(xxx)] from broker [List()] failed</code></p>
  
  <p>But I've also seen this:
  <code>kafka.admin.AdminOperationException: replication factor: 1 larger than available brokers: 0</code></p>
  
  <p>In both situations, the Kafka process is running (as well as ZooKeeper), so I assume there is some sort of timeout threshold passed.</p>
  
  <p>Neither the <a href="http://docs.spring.io/spring-cloud-stream/docs/current/reference/htmlsingle/#_configuration_options" rel="nofollow">generic</a> nor the <a href="http://docs.spring.io/spring-cloud-stream/docs/current/reference/htmlsingle/#_kafka_specific_settings" rel="nofollow">Kafka-specific</a> configuration seems to offer any timeout options.</p>
  
  <p>Is there any way I can influence the amount of time after which the Kafka client gives up and assumes the broker is gone?</p>