Table of Contents

Interface IConfluentSchemaRegistryClientFactory

Namespace
Silverback.Messaging.Serialization
Assembly
Silverback.Integration.Kafka.SchemaRegistry.dll

The factory used to create Confluent.SchemaRegistry.ISchemaRegistryClient instances.

public interface IConfluentSchemaRegistryClientFactory

Methods

GetClient(KafkaSchemaRegistryConfiguration)

Returns an Confluent.SchemaRegistry.ISchemaRegistryClient instance for the specified configuration.

ISchemaRegistryClient GetClient(KafkaSchemaRegistryConfiguration schemaRegistryConfiguration)

Parameters

schemaRegistryConfiguration KafkaSchemaRegistryConfiguration

The schema registry configuration.

Returns

ISchemaRegistryClient

The Confluent.SchemaRegistry.ISchemaRegistryClient.

GetClient(Action<KafkaSchemaRegistryConfigurationBuilder>)

Returns an Confluent.SchemaRegistry.ISchemaRegistryClient instance for the specified configuration.

ISchemaRegistryClient GetClient(Action<KafkaSchemaRegistryConfigurationBuilder> builderAction)

Parameters

builderAction Action<KafkaSchemaRegistryConfigurationBuilder>

An action that takes a KafkaSchemaRegistryConfigurationBuilder and configures it.

Returns

ISchemaRegistryClient

The Confluent.SchemaRegistry.ISchemaRegistryClient.