MCPcopy
hub / github.com/segmentio/kafka-go / Request

Struct Request

protocol/describegroups/describegroups.go:12–18  ·  view source on GitHub ↗

Detailed API definition: https://kafka.apache.org/protocol#The_Messages_DescribeGroups

Source from the content-addressed store, hash-verified

10
11// Detailed API definition: https://kafka.apache.org/protocol#The_Messages_DescribeGroups
12type Request struct {
13 // We need at least one tagged field to indicate that this is a "flexible" message
14 // type.
15 _ struct{} `kafka:"min=v5,max=v5,tag"`
16 Groups []string `kafka:"min=v0,max=v4|min=v5,max=v5,compact"`
17 IncludeAuthorizedOperations bool `kafka:"min=v3,max=v5"`
18}
19
20func (r *Request) ApiKey() protocol.ApiKey { return protocol.DescribeGroups }
21

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected