title: How to add custom header values to a spring kafka message?
body: <p>I am new to springboot kafka and I have created an example following this post.</p>
  
  <p><a href="https://www.codenotfound.com/spring-kafka-boot-example.html" rel="nofollow noreferrer">https://www.codenotfound.com/spring-kafka-boot-example.html</a></p>
  
  <p>I am currently using spring.kafka.version 1.1.6</p>
  
  <p>I want to add custom headers, to the message so I can send certain properties in the header eg: fileName, fileId</p>
  
  <p>I found out that you can set kafka metadata as headers and that's doesn't serve my purpose.</p>
  
  <p>Is there anyway I can achieve this? I appreciate if you can share an example if possible.</p>