Table of Contents

Constructor AvroSharpKafkaFlowSerializer

Namespace
AvroSharp.KafkaFlow
Assembly
AvroSharp.KafkaFlow.dll

AvroSharpKafkaFlowSerializer(ISchemaRegistryClient, AvroSharpSerializerConfig?)

Creates a serializer.

public AvroSharpKafkaFlowSerializer(ISchemaRegistryClient client, AvroSharpSerializerConfig? config = null)

Parameters

client ISchemaRegistryClient

The schema registry.

config AvroSharpSerializerConfig

The settings, or null for the defaults.

Exceptions

ArgumentException

config puts the schema ID in a header (KafkaFlow's serializer middleware gives serializers no headers), or enables both use.latest.version and auto.register.schemas (the default).