Class AvroDataFormatOptions

Assembly: redb.Route.DataFormats.Avro.dll

Options of one instance.

public sealed class AvroDataFormatOptions

Inheritance

Object→AvroDataFormatOptions

Properties

ConfluentWireFormat

Frame the payload the Confluent Schema Registry way: magic byte 0, schema id as big-endian int32. Default false.

public bool ConfluentWireFormat { get; set; }

Schema

Explicit Avro schema (JSON). When null the schema is built from the CLR type being (de)serialized.

public string? Schema { get; set; }

SchemaId

Schema id written into the frame when is on.

public int SchemaId { get; set; }