Table of Contents

Class ConfluentSchemaRegistryOptions

Namespace
Excalibur.Dispatch.Transport.Kafka
Assembly
Excalibur.Dispatch.Transport.Kafka.dll

Configuration options for the Confluent Schema Registry client.

public sealed class ConfluentSchemaRegistryOptions
Inheritance
ConfluentSchemaRegistryOptions
Inherited Members
Extension Methods

Remarks

SSL/TLS settings are in SchemaRegistrySslOptions via the Ssl property. Schema management settings are in SchemaRegistrySchemaOptions via the Schema property.

Properties

BasicAuthUserInfo

Gets or sets the basic authentication username.

public string? BasicAuthUserInfo { get; set; }

Property Value

string

The username for basic authentication, or null if not using auth.

CacheSchemas

Gets or sets whether schema caching is enabled.

public bool CacheSchemas { get; set; }

Property Value

bool

true to cache schemas locally; otherwise, false. Default is true.

MaxCachedSchemas

Gets or sets the maximum number of schemas to cache locally.

public int MaxCachedSchemas { get; set; }

Property Value

int

The maximum cached schemas. Default is 1000.

RequestTimeout

Gets or sets the request timeout.

public TimeSpan RequestTimeout { get; set; }

Property Value

TimeSpan

The timeout for schema registry requests. Default is 30 seconds.

Schema

Gets or sets the schema management configuration options.

public SchemaRegistrySchemaOptions Schema { get; set; }

Property Value

SchemaRegistrySchemaOptions

The schema options. Never null.

Ssl

Gets or sets the SSL/TLS configuration options.

public SchemaRegistrySslOptions Ssl { get; set; }

Property Value

SchemaRegistrySslOptions

The SSL options. Never null.

Url

Gets or sets the Schema Registry URL(s).

public string Url { get; set; }

Property Value

string

The Schema Registry URL, e.g., "http://localhost:8081".

Methods

CreateSubjectNameStrategy()

Creates the configured subject name strategy instance.

[RequiresUnreferencedCode("CreateSubjectNameStrategy uses reflection to construct custom strategy types.")]
[RequiresDynamicCode("CreateSubjectNameStrategy uses reflection to construct custom strategy types.")]
public ISubjectNameStrategy CreateSubjectNameStrategy()

Returns

ISubjectNameStrategy

An ISubjectNameStrategy implementation.