title: Adding Custom Headers in Kafka Message
body: <p>I am sending a file as a message by converting it to a byte array using kafka producer.</p>
  
  <p>I also need to add some headers for the message, for example file name, timestamps etc so at the consumer end I can process the message based on file name and other headers.</p>
  
  <p>What I am currently doing is creating a object and wrapping the raw message and headers in it and sending the object in a byte array as a message.</p>
  
  <p>I would like to know if there is a way by which I can add custom headers while publishing the message?</p>