Interface IConfluentSchemaRegistryClientFactory
The factory used to create Confluent.SchemaRegistry.ISchemaRegistryClient instances.
Namespace: Silverback.Messaging.Serialization
Assembly: Silverback.Integration.Kafka.SchemaRegistry.dll
Syntax
public interface IConfluentSchemaRegistryClientFactory
Methods
GetClient(KafkaSchemaRegistryConfiguration)
Returns an Confluent.SchemaRegistry.ISchemaRegistryClient instance for the specified configuration.
Declaration
ISchemaRegistryClient GetClient(KafkaSchemaRegistryConfiguration schemaRegistryConfiguration)
Parameters
| Type | Name | Description |
|---|---|---|
| KafkaSchemaRegistryConfiguration | schemaRegistryConfiguration | The schema registry configuration. |
Returns
| Type | Description |
|---|---|
| ISchemaRegistryClient | The Confluent.SchemaRegistry.ISchemaRegistryClient. |
GetClient(Action<KafkaSchemaRegistryConfigurationBuilder>)
Returns an Confluent.SchemaRegistry.ISchemaRegistryClient instance for the specified configuration.
Declaration
ISchemaRegistryClient GetClient(Action<KafkaSchemaRegistryConfigurationBuilder> builderAction)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<KafkaSchemaRegistryConfigurationBuilder> | builderAction | An action that takes a KafkaSchemaRegistryConfigurationBuilder and configures it. |
Returns
| Type | Description |
|---|---|
| ISchemaRegistryClient | The Confluent.SchemaRegistry.ISchemaRegistryClient. |