Skip to content

Please suport Schema References #82

@venthur

Description

@venthur

Confluent Platform 5.5.0 support Schema References, the ability of a schema to refer to other schemas.

Here's a blog post that goes a bit into detail.

The schema you want to register contains a reference:

{
  "namespace": "my.little.schema",
  "name": "Test",
  "type": "record",
  "fields": [
    {
      "name": "name",
      "type": {
        "name": "Name",
        "type": "some.other.schema" <====
      }
    }
  ]
}

The json you sent to the SR contains a references section, listing all referenced schemas with versions:

{
  "schema": "...",
  "references": [
    {
      "name": "some.other.schema",
      "subject": "name",
      "version": 42
    }
  ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions