AvroSerializerOptions interface

Options for Schema

Properties

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.

groupName

The group name to be used when registering/looking up a schema. Must be specified if serialize will be called.

messageAdapter

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>