AvroSerializerOptions interface
Options for Schema
Properties
auto |
When true, register new schemas passed to serialize. Otherwise, and by default, fail if schema has not already been registered. Automatic schema registration is NOT recommended for production scenarios. |
group |
The group name to be used when registering/looking up a schema. Must be specified
if |
message |
Message Adapter enables the serializer to produce and consume custom messages. |
Property Details
autoRegisterSchemas
When true, register new schemas passed to serialize. Otherwise, and by default, fail if schema has not already been registered.
Automatic schema registration is NOT recommended for production scenarios.
autoRegisterSchemas?: boolean
Property Value
boolean
groupName
The group name to be used when registering/looking up a schema. Must be specified
if serialize
will be called.
groupName?: string
Property Value
string
messageAdapter
Message Adapter enables the serializer to produce and consume custom messages.
messageAdapter?: MessageAdapter<MessageT>
Property Value
MessageAdapter<MessageT>