Table of Contents

Class SchemaRegistrySchemaOptions

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

Schema management configuration options for the Confluent Schema Registry.

public sealed class SchemaRegistrySchemaOptions
Inheritance
SchemaRegistrySchemaOptions
Inherited Members
Extension Methods

Remarks

This sub-options class is part of the ConfluentSchemaRegistryOptions ISP split to keep each class within the 10-property gate.

Properties

AutoRegisterSchemas

Gets or sets whether to auto-register schemas on first use.

public bool AutoRegisterSchemas { get; set; }

Property Value

bool

true to auto-register; otherwise, false. Default is true.

CustomSubjectNameStrategyType

Gets or sets the custom subject name strategy type, if using a custom implementation.

[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicParameterlessConstructor)]
public Type? CustomSubjectNameStrategyType { get; set; }

Property Value

Type

The custom strategy type, or null to use the enum-based strategy.

DefaultCompatibility

Gets or sets the default compatibility mode for new subjects.

public CompatibilityMode DefaultCompatibility { get; set; }

Property Value

CompatibilityMode

The compatibility mode. Default is Backward.

SubjectNameStrategy

Gets or sets the subject naming strategy.

public SubjectNameStrategy SubjectNameStrategy { get; set; }

Property Value

SubjectNameStrategy

The subject name strategy. Default is TopicName.

ValidateBeforeRegister

Gets or sets whether to validate schemas locally before registration.

public bool ValidateBeforeRegister { get; set; }

Property Value

bool

true to validate schema structure before sending to the registry; otherwise, false. Default is true.