Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avro schema references on import #4146

Closed
jrkinley opened this issue Mar 30, 2022 · 1 comment · Fixed by #4154
Closed

Avro schema references on import #4146

jrkinley opened this issue Mar 30, 2022 · 1 comment · Fixed by #4154
Labels
area/schema-registry Schema Registry service within Redpanda

Comments

@jrkinley
Copy link

jrkinley commented Mar 30, 2022

Support the ability to reference other Avro schemas, for example:

{
  "namespace": "com.redpanda",
  "type": "record",
  "name": "company",
  "fields": [
    {
      "name": "id",
      "type": "string"
    },
    {
      "name": "name",
      "type": "string"
    },
    {
      "name": "address",
      "type": "string"
    }
  ]
}

{
  "namespace": "com.redpanda",
  "type": "record",
  "name": "employee",
  "fields": [
    {
      "name": "id",
      "type": "string"
    },
    {
      "name": "name",
      "type": "string"
    },
    {
      "name": "company",
      "type": "com.redpanda.company"
    }
  ]
}

avro_schema_reference.txt

@jrkinley jrkinley changed the title AVRO Avro schema references on import Mar 30, 2022
@jrkinley jrkinley added the area/schema-registry Schema Registry service within Redpanda label Mar 30, 2022
BenPope added a commit to BenPope/redpanda that referenced this issue Mar 31, 2022
Recursively fetch references from the store when building a
valid avro schema.

Fix redpanda-data#4146
BenPope added a commit to BenPope/redpanda that referenced this issue Apr 1, 2022
Recursively fetch references from the store when building a
valid avro schema.

Fix redpanda-data#4146
@BenPope
Copy link
Member

BenPope commented Apr 1, 2022

/backport v21.11.x

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/schema-registry Schema Registry service within Redpanda
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants