Kafka - Schema Registry
Given the following schemas, which is the most restrictive compatibility rule that will allow the new schema to be registered without error?
Old schema:
New schema:
Old schema:
{"type": "record", "name": "User", "fields": [{"name": "name", "type": "string"}]}New schema:
{"type": "record", "name": "User", "fields": [{"name": "name", "type": "string"}, {"name": "age", "type": ["null", "int"], "default": null}]}