...

Text file src/github.com/twmb/franz-go/generate/definitions/58_envelope

Documentation: github.com/twmb/franz-go/generate/definitions

     1// Introduced for KIP-590, EnvelopeRequest is what brokers use to wrap an
     2// incoming request before forwarding it to another broker.
     3EnvelopeRequest => key 58, max version 0, flexible v0+, admin
     4  // The embedded request header and data.
     5  RequestData: bytes
     6  // Value of the initial client principal when the request is redirected by a broker.
     7  RequestPrincipal: nullable-bytes
     8  // The original client's address in bytes.
     9  ClientHostAddress: bytes
    10
    11EnvelopeResponse =>
    12  // The embedded response header and data.
    13  ResponseData: nullable-bytes
    14  // The error code, or 0 if there was no error.
    15  //
    16  // NOT_CONTROLLER is returned when the request is not sent to the controller.
    17  //
    18  // CLUSTER_AUTHORIZATION_FAILED is returned if inter-broker authorization failed.
    19  ErrorCode: int16

View as plain text