title: How do I set the Java options for Kafka?
body: <p>I've been experimenting with Kafka and saw from the documentation on the main site that you're able to set different options for the jvm like heap size and the garbage collector that it uses:</p>
  
  <p><a href="http://kafka.apache.org/documentation.html#java" rel="noreferrer">http://kafka.apache.org/documentation.html#java</a></p>
  
  <p>What it doesn't say, however, is how/where to set these options. The application comes with a /config directory containing a lot of files used for configuration purposes but none that are for Java. It also comes with a /bin directory containing a bunch of scripts for Kafka but again, nothing really indicating how to configure Java.</p>
  
  <p>So my question is, how do I configure the Java options that Kafka uses? Is it done through a file or is there a different way?</p>