Skip to content

Apicurio Registry - AVRO ref not working #4135

Closed Answered by EricWittmann
nagarashish asked this question in Q&A
Discussion options

You must be logged in to vote

The Registry does support references from one Avro schema to other schemas, and you've got one part of it right (by making sure the Customer and PizzaItem schemas are already uploaded). But the missing bit is that when you register the PizzaOrder schema you need to provide mappings to the references it includes.

What does this mean? It means that when you register PizzaOrder you need to tell Registry where com.pizza.model.PizzaItem exists and where com.pizza.model.Customer exists. You do this by providing mappings from those names to coordinates in the Registry (groupId, artifactId, version).

Documentation on this can be found here:

https://www.apicur.io/registry/docs/apicurio-registry/2.…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@davidradl
Comment options

@EricWittmann
Comment options

@EricWittmann
Comment options

Answer selected by EricWittmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants