Namespace AvroSharp.Azure.SchemaRegistry
The AvroSharp.Azure.SchemaRegistry package: an Azure Schema Registry serializer for Event Hubs and Service Bus messages, without Apache.Avro.
AvroSharpSchemaRegistrySerializerwrites values into aMessageContent, or a type derived from it such asEventDataorServiceBusMessage, and reads them back.- The message's content type is
avro/binary+<schema ID>, as with Microsoft'sSchemaRegistryAvroSerializer. AvroSharpSchemaRegistrySerializerOptionschooses whether schemas are registered.
The Azure Schema Registry guide shows how to move from Microsoft's serializer.
Classes
- AvroSharpSchemaRegistrySerializer
Writes and reads Avro messages with Azure Schema Registry, as Microsoft's
SchemaRegistryAvroSerializer(Microsoft.Azure.Data.SchemaRegistry.ApacheAvro) does, without Apache.Avro. The message is a MessageContent, or a type derived from it, such as Event Hubs'EventDataor Service Bus'ServiceBusMessage. Its body is the Avro encoding of the value, and its content type isavro/binary+<schema ID>.
- AvroSharpSchemaRegistrySerializerOptions
Settings of AvroSharpSchemaRegistrySerializer, as Microsoft's
SchemaRegistryAvroSerializerOptions.