Table of Contents

Class SerdeHeaders

Namespace
Solace.SchemaRegistry.Serdes.Core
Assembly
Solace.SchemaRegistry.Serdes.Core.dll

A class that contains header property keys. These properties are added and/or used by AbstractSerializer<Schema, T> and AbstractDeserializer<Schema, T>.

public static class SerdeHeaders
Inheritance
SerdeHeaders
Inherited Members

Fields

SchemaId

A long-valued schema ID used by the schema registry to uniquely identify a schema. Used by AbstractSerializer<Schema, T> to write the property into the headers dictionary with the schema ID used for serialization. Used by AbstractDeserializer<Schema, T> to read from the headers dictionary to get a schema from the registry. This header is prioritized over SchemaIdString when present and valid on AbstractDeserializer<Schema, T>.

public const string SchemaId = "solace.schema.schema-id"

Field Value

string

SchemaIdString

A string-valued schema ID used by the schema registry to uniquely identify a schema. Used by AbstractSerializer<Schema, T> to write the property into the headers dictionary with the schema ID used for serialization. Used by AbstractDeserializer<Schema, T> to read from the headers dictionary to get a schema from the registry.

public const string SchemaIdString = "solace.schema.schema-id-string"

Field Value

string