title: Change zookeeper log directory in Embedded Kafka
body: <p>I am setting up Embedded-Kafka for JUnit test in my application which is using spring Kafka. What is the location/property to set for zookeeper log directory.
  When using Embedded-Kafka, I don't have file named server.properties or zookeeper.properties
  By Default, it creates log files in temp folder on Windows, but my temp windows is restrictive so I get an exception</p>
  
  <p>I was able to specify the Kafka log directory by using following </p>
  
  <pre><code>@EmbeddedKafka(brokerProperties = { "log.dirs=../kafka-logs/" })
  </code></pre>
  
  <p>For broker/zookeeper properties I tried -</p>
  
  <pre><code> static {
    props.setProperty("java.io.tmpdir", "../kafka-logs/");
  }
  </code></pre>