...

Text file src/github.com/twmb/franz-go/generate/definitions/42_delete_groups

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

     1// DeleteGroupsRequest deletes consumer groups. This request was added for
     2// Kafka 1.1.0 corresponding to the removal of RetentionTimeMillis from
     3// OffsetCommitRequest. See KIP-229 for more details.
     4DeleteGroupsRequest => key 42, max version 2, flexible v2+, group coordinator
     5  // Groups is a list of groups to delete.
     6  Groups: [string]
     7
     8// DeleteGroupsResponse is returned from a DeleteGroupsRequest.
     9DeleteGroupsResponse =>
    10  ThrottleMillis(1)
    11  // Groups are the responses to each group requested for deletion.
    12  Groups: [=>]
    13    // Group is a group ID requested for deletion.
    14    Group: string
    15    // ErrorCode is the error code returned for this group's deletion request.
    16    //
    17    // GROUP_AUTHORIZATION_FAILED is returned if the client is not authorized
    18    // to delete a group.
    19    //
    20    // INVALID_GROUP_ID is returned if the requested group ID is invalid.
    21    //
    22    // COORDINATOR_NOT_AVAILABLE is returned if the coordinator for this
    23    // group is not yet active.
    24    //
    25    // GROUP_ID_NOT_FOUND is returned if the group ID does not exist.
    26    //
    27    // NON_EMPTY_GROUP is returned if attempting to delete a group that is
    28    // not in the empty state.
    29    ErrorCode: int16

View as plain text