@qualithm/kafka-client - v0.1.6
    Preparing search index...

    Type Alias AvroSerdeOptions

    Options for creating an Avro serde.

    type AvroSerdeOptions = {
        autoRegister?: boolean;
        codec: AvroCodec;
        isKey?: boolean;
        registry: SchemaRegistry;
        schema: string;
        subjectNameStrategy?: SubjectNameStrategy;
    }
    Index

    Properties

    autoRegister?: boolean

    Whether to automatically register the writer schema on first serialize.

    true
    
    codec: AvroCodec

    Pluggable Avro codec (wraps user's Avro library).

    isKey?: boolean

    Whether this serde is for the message key.

    Affects subject naming via the subject name strategy.

    false
    
    registry: SchemaRegistry

    Schema Registry client instance.

    schema: string

    Writer schema as a JSON string.

    Used for serialization. If autoRegister is true (default), this schema is registered with the Schema Registry on first use.

    subjectNameStrategy?: SubjectNameStrategy

    Subject name strategy for determining the Schema Registry subject.

    topicNameStrategy