title: Kafka & Avro producer - Schema being registered is incompatible with an earlier schema for subject
body: <p>Im running schema-registry-confluent example with my local and I got an error when I modified the schema of the message:</p>
  <p>This is my schema:</p>
  <pre><code>{
    &quot;type&quot;: &quot;record&quot;,
    &quot;namespace&quot;: &quot;io.confluent.tutorial.pojo.avro&quot;,
    &quot;name&quot;: &quot;OrderDetail&quot;,
    &quot;fields&quot;: [
      {
        &quot;name&quot;: &quot;number&quot;,
        &quot;type&quot;: &quot;long&quot;,
        &quot;doc&quot;: &quot;The order number.&quot;
      },
      {
        &quot;name&quot;: &quot;date&quot;,
        &quot;type&quot;: &quot;long&quot;,
        &quot;logicalType&quot;: &quot;date&quot;,
        &quot;doc&quot;: &quot;The date the order was submitted.&quot;
      },
      {
        &quot;name&quot;: &quot;client&quot;,
        &quot;type&quot;: { 
          &quot;type&quot;: &quot;record&quot;,
          &quot;name&quot;: &quot;Client&quot;,
          &quot;fields&quot;: [
            { &quot;name&quot;: &quot;code&quot;, &quot;type&quot;: &quot;string&quot; }
          ]
        }
      }
    ]
  }
  
  </code></pre>
  <p>And I tried to send this message on the producer:</p>
  <pre><code>{&quot;number&quot;: 2343434, &quot;date&quot;: 1596490462, &quot;client&quot;: {&quot;code&quot;: &quot;1234&quot;}}
  </code></pre>
  <p>But I got this error:</p>
  <pre><code>org.apache.kafka.common.errors.InvalidConfigurationException: Schema being registered is incompatible with an earlier schema for subject &quot;example-topic-avro-value&quot;; error code: 409
  </code></pre>