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

    Function buildApiVersionsRequest

    • Build a complete, framed ApiVersions request ready to send to a broker.

      This encodes both the request header and body, wrapped in a size prefix.

      Parameters

      • correlationId: number

        Correlation ID for matching the response.

      • apiVersion: number

        API version to use (0–3).

      • request: ApiVersionsRequest = {}

        Request payload (empty for v0–v2).

      • OptionalclientId: string | null

        Client ID for the header.

      Returns Uint8Array

      The framed request as a Uint8Array.