Table of Contents

Class AvroRegistryMessage

Namespace
AvroSharp.Messages
Assembly
AvroSharp.dll

Writes messages in a schema registry's wire framing (AvroRegistryFraming): the framing's header with the schema ID, then the object's Avro binary encoding (zlib-compressed for AwsGlueCompressed). No registry client is involved: the caller supplies the ID. To read, use AvroRegistryMessageReader<T>.

public static class AvroRegistryMessage
Inheritance
AvroRegistryMessage
Inherited Members

Methods

ToArray(AvroRegistryFraming, AvroSchemaId, in AvroValue, GenericDatumWriter)

Writes a generic value as a framed message to a new array.

ToArray<T>(AvroRegistryFraming, AvroSchemaId, T)

Writes a schema-registry message of a generated type to a new array.

ToArray<T>(AvroRegistryFraming, AvroSchemaId, T, AvroWriteAction<T>)

Writes one object as a framed message to a new array.

Write(IBufferWriter<byte>, AvroRegistryFraming, AvroSchemaId, in AvroValue, GenericDatumWriter)

Writes a generic value as a framed message.

Write<T>(IBufferWriter<byte>, AvroRegistryFraming, AvroSchemaId, T)

Writes a schema-registry message of a generated type.

Write<T>(IBufferWriter<byte>, AvroRegistryFraming, AvroSchemaId, T, AvroWriteAction<T>)

Writes one object as a framed message.

See Also