Import an Avro schema from a schema registry
An Avro schema can now be imported straight from a Confluent-compatible schema registry, in the import wizard or from the CLI. How it works.
- URL Import follows the registry. Enter a subject version (
…/subjects/orders-value/versions/3), a subject's version list (for its latest version) or a schema id (…/schemas/ids/21). The wizard recognizes the registry's answer and imports the schema itself. apiome import avro --registry. Name the schema with--subjectand--version, or with--schema-id.- Subject naming strategies. Or name the subject the way a producer does:
--topic ordersgivesorders-value(--keyfororders-key),--strategy recorduses the record's full name, and--strategy topic_recordgives<topic>-<record>. - Fixtures. The CLI's test fixtures now include an orders schema as
.avscand as.avdl.
