title: Translate a Kafka ConnectRecord into an Avro GenericRecord
body: <p>I have some code that is receiving fully formed Kafka <code>ConnectRecord</code>s. I would like to take those records, and convert them to Avro's <code>GenericRecord</code>. I imagine a utility must exist to do this. I want to do something really simple:</p>
  
  <pre><code>ConnectRecord myInput = ... // some connect record
  
  GenericRecord myAvroInput = MyUtility.convertKafkaToAvro(myInput);
  </code></pre>
  
  <p>Or perhaps:</p>
  
  <pre><code>ConnectRecord myInput = ... // some connect record
  
  GenericRecord myAvroInput = MyUtility.convertKafkaToAvro(myInput.value(), myInput.valueSchema());
  </code></pre>
  
  <p>Is there a utility that can help me do this?</p>