title: Kafka serialization
body: <pre><code>@Override
  public byte[] serialize(String topic, EventLegalPlanInstanceLifecycleChange record) {
      return this.serializeImpl(this.getSubjectName(topic,this.isKey,record),record);
  }
  </code></pre>
  <p>With the code above I'm getting the following error:</p>
  <pre><code>required: String,boolean,Object,ParsedSchema
  found: String,boolean,EventLegalPlanInstanceLifecycleChange
  reason: actual and formal argument lists differ in length
  </code></pre>