Table of Contents

Method SetAvroSharpGlueValueSerializer

Namespace
AvroSharp.Aws.Glue.Kafka
Assembly
AvroSharp.Aws.Glue.Kafka.dll

SetAvroSharpGlueValueSerializer<TKey, TValue>(ProducerBuilder<TKey, TValue>, IAmazonGlue, AvroSharpGlueOptions?)

Writes values with AvroSharpGlueKafkaSerializer<T>, as its synchronous interface, so both Produce and ProduceAsync work. It waits for Glue the first time each schema is written.

public static ProducerBuilder<TKey, TValue> SetAvroSharpGlueValueSerializer<TKey, TValue>(this ProducerBuilder<TKey, TValue> builder, IAmazonGlue glue, AvroSharpGlueOptions? options = null)

Parameters

builder ProducerBuilder<TKey, TValue>

The producer builder.

glue IAmazonGlue

The Glue client.

options AvroSharpGlueOptions

The settings, or null for AWS's defaults.

Returns

ProducerBuilder<TKey, TValue>

Type Parameters

TKey

The key type.

TValue

The value type.