Class ConfluentSchemaIdHeader
Confluent's schema ID in a Kafka message header (Confluent Platform 8, HeaderSchemaIdSerializer): the header
value is the byte 0x01 and the schema GUID as 16 big-endian bytes, and the message value is the Avro data
alone. Read the value with ReadPayload(AvroSchemaId, ReadOnlySpan<byte>).
public static class ConfluentSchemaIdHeader
- Inheritance
-
ConfluentSchemaIdHeader
- Inherited Members
Fields
- KeyHeaderName
The header that carries a message key's schema ID.
- Length
The length of the header value.
- ValueHeaderName
The header that carries a message value's schema ID.
Methods
- Encode(AvroSchemaId)
Encodes a schema ID as a header value.
- TryDecode(ReadOnlySpan<byte>, out AvroSchemaId)
Decodes a header value.