title: Python deserialize kafka message with avro repository
body: <p>I need to read Kafka messages using an avro stored in the repository.
  Using kafka-python 2.0.2, I can connect to the Kafka topic and read the messages but I have no idea on how to decode them.</p>
  <pre><code>from kafka import KafkaConsumer
  consumer = KafkaConsumer('SOME-TOPIC', 
                          other connection parameters,
                          auto_offset_reset= 'earliest')
                          # value_deserializer=lambda m: json.loads(m.decode('utf-8')))
                          # value_deserializer=lambda m: decode(m))
  
  for msg in consumer:
      print (msg)
  </code></pre>
  <p>What library should I use ? confluent-kafka 1.5.0, avro-python3 1.10.1
  How to proceed ?</p>
  <ul>
  <li>Identify the version of the message</li>
  <li>Connect to the avro repository</li>
  <li>Get the avro with the right version</li>
  <li>Use it to decode the message</li>
  </ul>
  <p>That seems a lot to do, is there not a simpler way to do ?
  I would appreciate to get an example to guide me.</p>
  <p>To connect to the avro repository I have these parameters</p>
  <ul>
  <li>basic.auth.credentials.source</li>
  <li>schema.registry.basic.auth.user.info</li>
  <li>schema.registry.url</li>
  </ul>