Table of Contents

Class CachingSchemaRegistryOptions

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

Configuration options for the caching schema registry client decorator.

public sealed class CachingSchemaRegistryOptions
Inheritance
CachingSchemaRegistryOptions
Inherited Members
Extension Methods

Properties

CacheCompatibilityResults

Gets or sets whether to cache compatibility check results.

public bool CacheCompatibilityResults { get; set; }

Property Value

bool

true to cache compatibility results; otherwise, false. Default is true.

CacheDuration

Gets or sets the cache duration for schema lookups.

public TimeSpan CacheDuration { get; set; }

Property Value

TimeSpan

The cache duration. Default is 5 minutes.

MaxCacheSize

Gets or sets the maximum number of entries in the cache.

public int MaxCacheSize { get; set; }

Property Value

int

The maximum cache size. Default is 1000.