...

Text file src/github.com/twmb/franz-go/generate/definitions/67_allocate_producer_ids

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

     1// For KIP-730, AllocateProducerIDsRequest is a broker-to-broker request that
     2// requests a block of producer IDs from the controller broker. This is more
     3// specifically introduced for raft, but allows for one more request to avoid
     4// zookeeper in the non-raft world as well.
     5AllocateProducerIDsRequest => key 67, max version 0, flexible v0+
     6  // The ID of the requesting broker.
     7  BrokerID: int32
     8  // The epoch of the requesting broker.
     9  BrokerEpoch: int64(-1)
    10
    11// AllocateProducerIDsResponse is a response to an AllocateProducerIDsRequest.
    12AllocateProducerIDsResponse =>
    13  ThrottleMillis
    14  // An error code, if any.
    15  ErrorCode: int16
    16  // The first producer ID in this range, inclusive.
    17  ProducerIDStart: int64
    18  // The number of producer IDs in this range.
    19  ProducerIDLen: int32

View as plain text