Method SetAvroSharpGlueValueSerializer
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
builderProducerBuilder<TKey, TValue>The producer builder.
glueIAmazonGlueThe Glue client.
optionsAvroSharpGlueOptionsThe settings, or null for AWS's defaults.
Returns
- ProducerBuilder<TKey, TValue>
Type Parameters
TKeyThe key type.
TValueThe value type.