Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SchemaRegistry

Package version

Represents a store of registered schemas.

Implemented by SchemaRegistryClient to store the schemas using the Azure Schema Registry service.

Hierarchy

  • SchemaRegistry

Implemented by

Index

Methods

getSchemaById

  • Gets an existing schema by ID.

    Parameters

    Returns Promise<Schema | undefined>

    Schema with given ID or undefined if no schema was found with the given ID.

getSchemaId

  • Gets the ID of an existing schema with matching name, group, type, and content.

    Parameters

    Returns Promise<SchemaId | undefined>

    Matched schema's ID or undefined if no matching schema was found.

registerSchema

  • Registers a new schema and returns its ID.

    If schema of specified name does not exist in the specified group, a schema is created at version 1. If schema of specified name exists already in specified group, schema is created at latest version + 1.

    Parameters

    Returns Promise<SchemaId>

    Registered schema's ID.

Generated using TypeDoc