title: Spring boot application with kafka stream
body: <p>Do anyone has a hello world example of reading message as stream using kafka stream and spring boot.</p>
  <p>My kafka cluster is SASL_ SSL secured. So how do I connect my spring boot kafka stream application with. What to write in application.properties file.</p>
  <p>I donot want to use spring cloud stream.</p>
  <pre><code>server.port=8084 
  topic.name=test-topic
  server.servlet.context-path=/api/v1
  spring.application.name=kafkatest 
  spring.kafka.bootstrap-servers=*************.com:9093 
  spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.IntegerSerializer
  spring.kafka.producer.value-serializer=io.confluent.kafka.serializers.KafkaAvroSerializer 
  spring.kafka.jaas.enabled=true 
  spring.kafka.properties.security.protocol= SASL_SSL 
  spring.kafka.properties.security.krb5.config = file:/etc/krb5.conf 
  spring.kafka.properties.sasl.mechanism = GSSAPI 
  spring.kafka.properties.sasl.kerberos.service.name= kafka 
  spring.kafka.properties.sasl.jaas.config = com.sun.security.auth.module.Krb5LoginModule required useTicketCache=false serviceName=&quot;kafka&quot; storeKey=true principal=&quot;***************&quot; useKeyTab=true keyTab=&quot;/home/api/config/kafkaclient.keytab&quot;; 
  spring.kafka.ssl.trust-store-location= file:/home/api/config/truststore.p12 spring.kafka.ssl.trust-store-password=********************* 
  spring.kafka.ssl.trust-store-type= PKCS12 
  </code></pre>