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

    Type Alias ProduceRequest

    Produce request payload.

    type ProduceRequest = {
        acks: Acks;
        taggedFields?: readonly TaggedField[];
        timeoutMs: number;
        topics: readonly ProduceTopicData[];
        transactionalId?: string | null;
    }
    Index

    Properties

    acks: Acks

    The number of acknowledgements required.

    • -1 (All): All in-sync replicas
    • 0 (None): No acknowledgement
    • 1 (Leader): Leader only
    taggedFields?: readonly TaggedField[]

    Tagged fields (v9+).

    timeoutMs: number

    Timeout in milliseconds to wait for the required acknowledgements.

    topics: readonly ProduceTopicData[]

    Topic data to produce.

    transactionalId?: string | null

    The transactional ID (v3+). Null for non-transactional producers.