Share via


SchemaRegistryClient Class

Definition

The Schema Registry client provides operations to interact with the Schema Registry service.

public class SchemaRegistryClient
type SchemaRegistryClient = class
Public Class SchemaRegistryClient
Inheritance
SchemaRegistryClient

Constructors

SchemaRegistryClient()

Initializes a new instance of the SchemaRegistryClient class for mocking use in testing.

SchemaRegistryClient(String, TokenCredential)

Initializes a new instance of the SchemaRegistryClient.

SchemaRegistryClient(String, TokenCredential, SchemaRegistryClientOptions)

Initializes a new instance of the SchemaRegistryClient.

Properties

FullyQualifiedNamespace

Gets the fully qualified namespace that the client is connecting to.

Methods

GetSchema(String, CancellationToken)

Gets the schema content associated with the schema ID from the SchemaRegistry service.

GetSchema(String, String, Int32, CancellationToken)

Gets the schema content associated with the group name, schema name, and version from the SchemaRegistry service.

GetSchemaAsync(String, CancellationToken)

Gets the schema content associated with the schema ID from the SchemaRegistry service.

GetSchemaAsync(String, String, Int32, CancellationToken)

Gets the schema content associated with the group name, schema name, and version from the SchemaRegistry service.

GetSchemaProperties(String, String, String, SchemaFormat, CancellationToken)

Gets the schema ID associated with the schema from the SchemaRegistry service.

GetSchemaPropertiesAsync(String, String, String, SchemaFormat, CancellationToken)

Gets the schema ID associated with the schema from the SchemaRegistry service.

RegisterSchema(String, String, String, SchemaFormat, CancellationToken)

Registers a schema with the SchemaRegistry service. If the schema did not previously exist in the Schema Registry instance, it is added to the instance and assigned a schema ID. If the schema did previous exist in the Schema Registry instance, a new version of the schema is added to the instance and assigned a new schema ID.

RegisterSchemaAsync(String, String, String, SchemaFormat, CancellationToken)

Registers a schema with the SchemaRegistry service.

Applies to