rayokota commented on issue #252: URL: https://github.com/apache/avro-rs/issues/252#issuecomment-3186606192
Right, you won't want to use the canonical form when registering the schema with Schema Registry. The schema that is registered is what will be used by the reader. I'm assuming that if you've specified defaults, you'll want those defaults to take effect on read, for schema evolution purposes. When registering a schema, you can specify that the schema be normalized, which is similar to canonicalization in that in converts the schema to a standard format, but keeps elements like defaults and doc that are stripped during canonicalization. For more on schema normalization see https://docs.confluent.io/platform/current/schema-registry/fundamentals/serdes-develop/index.html -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
