title: How to deserialize message in consumer when produced message is a model type which consumer has no reference to?
body: <p>I'm trying to deserialize a message produced from a service outside of conumers scope.
  In case that package of serialized/deserialized model is different,&quot; kafka model is not in the trusted packages&quot; error occurs.</p>
  <p>So I think I have 2 options. Either produce a message as json/string or have consumer include producer library and use the same model to deserialize the message.</p>
  <p>I wanted to manually ignore header type of message when deserializing in consumer but I have not managed to do that. Is there any way to do this or am I stuck with the two options described above?</p>