title: Kafka Consumer Error
body: <p>I am using a kafka produer and a Spring kafka consumer. I am using a Json serializer and deserializer. Whenever I try to read messages in the consumer from the topic i get the following error: </p>
  
  <pre><code>org.apache.kafka.common.errors.SerializationException: Error deserializing key/value for partition fan_topic-0 at offset 154. If needed, please seek past the record to continue consumption.
  Caused by: java.lang.IllegalStateException: No type information in headers and no default type provided
  </code></pre>
  
  <p>I have not configured anything about headers neither in the producer nor in the consumer. What am i missing here?</p>