title: How to add JVM parameters to Apache Kafka?
body: <p>When configuring authentication for kafka, the <a href="https://kafka.apache.org/documentation#security_sasl" rel="noreferrer">document</a> mentioned that JVM parameters need to be added when starting kafka server. like:</p>
  
  <p><code>-Djava.security.auth.login.config=/etc/kafka/kafka_server_jaas.conf</code></p>
  
  <p>Since we are using bin/kafka-server-start.sh to start the server, the document didn't mention where to specify the JVM parameters.</p>
  
  <p>Modifying the kafka-server-start.sh or kafka-server-class.sh is not a good idea, then what will be the right way to add the parameter at the start?</p>