title: Writing Custom Kafka Serializer
body: <p>I am using my own class in a Kafka message which has a bunch of String data types. </p>
  
  <p>I therefore cannot use the default serializer class or the <code>StringSerializer</code> that comes with Kafka library. </p>
  
  <p>I guess I need to write my own serializer and feed it to the producer properties?</p>