title: Why would serialized objects update the version of a schema on Schema Registry?
body: <p>I've built an Avro schema that I've stored on the Confluent Schema Registry (version 5.5.1) running locally. However it seems that the schema that is being used to serialize the record is actually different than what I expect it to be. The schema definition is several hundred lines long, so I'm sharing a very pared-down version here that represents how it is structured:</p>
  <pre><code>[
      {
          &quot;name&quot;: &quot;AddressBase&quot;,
          &quot;type&quot;: &quot;record&quot;,
          &quot;namespace&quot;: &quot;com.namespace&quot;,
          &quot;fields&quot;: [
              {
                  &quot;name&quot;: &quot;line1&quot;,
                  &quot;type&quot;: &quot;string&quot;
              }
          ]
      },
      {
          &quot;name&quot;: &quot;Address&quot;,
          &quot;type&quot;: &quot;record&quot;,
          &quot;namespace&quot;: &quot;com.namespace&quot;,
          &quot;fields&quot;: [
              {
                  &quot;name&quot;: &quot;addressBase&quot;,
                  &quot;type&quot;: &quot;AddressBase&quot;
              }
          ]
      },
      {
          &quot;name&quot;: &quot;SchemaName&quot;,
          &quot;fields&quot;: [
              {
                  &quot;name&quot;: &quot;agency&quot;,
                  &quot;type&quot;: {
                      &quot;fields&quot;: [
                          {
                              &quot;name&quot;: &quot;code&quot;,
                              &quot;type&quot;: &quot;string&quot;
                          },
                          {
                              &quot;name&quot;: &quot;name&quot;,
                              &quot;type&quot;: &quot;string&quot;
                          },
                          {
                              &quot;name&quot;: &quot;currentMailingAddress&quot;,
                              &quot;type&quot;: &quot;Address&quot;
                          }
                      ],
                      &quot;name&quot;: &quot;Agency&quot;,
                      &quot;type&quot;: &quot;record&quot;
                  }
              }
          ],
          &quot;namespace&quot;: &quot;com.namespace&quot;,
          &quot;type&quot;: &quot;record&quot;
      }
  ]
  </code></pre>
  <p>Here are the steps I've taken to reproduce the problem:</p>
  <ol>
  <li><p>Saved schema in Schema Registry - this was version 2 of the schema for the topic</p>
  </li>
  <li><p>Built local class files using that same schema</p>
  </li>
  <li><p>Created POJO with appropriate values populated</p>
  </li>
  <li><p>Ran the producer to store serialized object on Kafka, with auto.register.schemas set to &quot;false&quot;</p>
  </li>
  <li><p>Received an error &quot;schema not found&quot;:</p>
  <pre><code>    Error (truncated) Caused by:
      io.confluent.kafka.schemaregistry.client.rest.exceptions.RestClientException:
      Schema not found; error code: 40403
  
  </code></pre>
  </li>
  <li><p>Set auto.register.schemas to &quot;true&quot;</p>
  </li>
  <li><p>Ran again, serializing a new record</p>
  </li>
  <li><p>This time, the message was stored successfully, but the schema was updated and is now on version 3.</p>
  </li>
  </ol>
  <p>I've searched quite a bit but have come up at a loss as to why this may occur. Are there any particular things I might need to double check within my schema definition that could cause this behavior?</p>