title: Spring Kafka + Json + Schema Registry Confluent
body: <p>Confluent schema registry currently support json schema.
  Does spring kafka provides support for json schema?</p>
  <p>Avro with spring kafka works well using this config</p>
  <pre class="lang-yaml prettyprint-override"><code>spring:
    kafka:
      producer:
        key-serializer: org.apache.kafka.common.serialization.StringSerializer
        value-serializer: io.confluent.kafka.serializers.KafkaAvroSerializer
      consumer:
        group-id: template-cg
        auto-offset-reset: earliest
        key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
        value-deserializer: io.confluent.kafka.serializers.KafkaAvroDeserializer
      properties:
        schema.registry.url: &quot;http://localhost:8081&quot;
  
  </code></pre>
  <p>But how to configure spring kafka to use json schema + confluent schema registry?</p>