Path: redb-route/redb.Route.DataFormats.Avro/AvroDataFormatOptions.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.DataFormats.Avro/AvroDataFormatOptions.cs
----
namespace redb.Route.DataFormats.Avro;
/// Options of one instance.
public sealed class AvroDataFormatOptions
{
/// Explicit Avro schema (JSON). When null the schema is built from the CLR type being (de)serialized.
public string? Schema { get; set; }
/// 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 id written into the frame when is on.
public int SchemaId { get; set; }
}