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

    Type Alias ProtobufSerdeOptions

    Options for creating a Protobuf serde.

    type ProtobufSerdeOptions = {
        autoRegister?: boolean;
        codec: ProtobufCodec;
        isKey?: boolean;
        messageName: string;
        registry: SchemaRegistry;
        schema: string;
        subjectNameStrategy?: SubjectNameStrategy;
    }
    Index

    Properties

    autoRegister?: boolean

    Whether to automatically register the schema on first serialize.

    true
    

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

    isKey?: boolean

    Whether this serde is for the message key.

    false
    
    messageName: string

    Fully-qualified message type name to encode/decode.

    registry: SchemaRegistry

    Schema Registry client instance.

    schema: string

    Proto schema definition string.

    subjectNameStrategy?: SubjectNameStrategy

    Subject name strategy for determining the Schema Registry subject.

    topicNameStrategy