...

Text file src/github.com/twmb/franz-go/generate/definitions/66_list_transactions

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

     1// For KIP-664, ListTransactionsRequest lists transactions.
     2ListTransactionsRequest => key 66, max version 0, flexible v0+
     3  // The transaction states to filter by: if empty, all transactions are
     4  // returned; if non-empty, then only transactions matching one of the
     5  // filtered states will be returned.
     6  //
     7  // For a list of valid states, see the TransactionState enum.
     8  StateFilters: [string]
     9  // The producer IDs to filter by: if empty, all transactions will be
    10  // returned; if non-empty, only transactions which match one of the filtered
    11  // producer IDs will be returned
    12  ProducerIDFilters: [int64]
    13
    14// ListTransactionsResponse is a response to a ListTransactionsRequest.
    15ListTransactionsResponse =>
    16  ThrottleMillis
    17  // A potential error code for the listing,
    18  //
    19  // COORDINATOR_LOAD_IN_PROGRESS is returned if the coordinator is loading.
    20  //
    21  // COORDINATOR_NOT_AVAILABLE is returned if the coordinator receiving this
    22  // request is shutting down.
    23  ErrorCode: int16
    24  // Set of state filters provided in the request which were unknown to the
    25  // transaction coordinator.
    26  UnknownStateFilters: [string]
    27  // TransactionStates contains all transactions that were matched for listing
    28  // in the request. The response elides transactions that the user does not have
    29  // permission to describe (DESCRIBE on TRANSACTIONAL_ID for the transaction).
    30  TransactionStates: [=>]
    31    // The transactional ID being used.
    32    TransactionalID: string
    33    // The producer ID of the producer.
    34    ProducerID: int64
    35    // The current transaction state of the producer.
    36    TransactionState: string

View as plain text