Package version:

Class SchemaRegistryClient

Client for Azure Schema Registry service.

Hierarchy

  • SchemaRegistryClient

Implements

Constructors

Properties

fullyQualifiedNamespace: string

The Schema Registry service fully qualified namespace URL.

Methods

  • Gets an existing schema by ID. If the schema was not found, a RestError with status code 404 will be thrown, which could be caught as follows:

    ...
    } catch (e) {
    if (typeof e === "object" && e.statusCode === 404) {
    ...;
    }
    throw e;
    }

    Returns

    Schema with given ID.

    Parameters

    Returns Promise<Schema>

  • Gets an existing schema by version. If the schema was not found, a RestError with status code 404 will be thrown, which could be caught as follows:

    ...
    } catch (e) {
    if (typeof e === "object" && e.statusCode === 404) {
    ...;
    }
    throw e;
    }

    Returns

    Schema with given ID.

    Parameters

    • name: string
    • groupName: string
    • version: number
    • Optional options: GetSchemaOptions

    Returns Promise<Schema>

Generated using TypeDoc