Java/REST API: Documentation of fields - globalId/contentId
by Jan Galinski
Hello,
we are starting evaluation of the apicurio registry. We will be using avro-schema and want to serialize to avro single-object-encoded (byteArray that contains a long-fingerprint to identify the schema).
This means that we will need a reliable way to query by the fingerprintId.
Can I use the globalId for this? When I upload the schema file via web-ui, the globalId is just based on a sequence, but it seems I would be able to update the metaData of this schema, so I could replace the globalId with an avro fingerprint.
Is globalId the correct field? What is the difference to the contentId?
Why are properties stored as key/value map, but queried as List<String>?
Thanks
Jan
1 year
Mapping avro schema namespace/name to groupId/name
by Jan Galinski
Is it safe to assume that when my avro schema uses namespace="foo" and name="Bar" that it is a good idea to use groupId="foo" and name="Bar" as well when I upload the schema file?
If so ... couldn't the registry automatically derive namespace/name from an avro schema, so we do not risk typos when registering?
1 year