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

Struct Request

protocol/createtopics/createtopics.go:9–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7}
8
9type Request struct {
10 // We need at least one tagged field to indicate that v5+ uses "flexible"
11 // messages.
12 _ struct{} `kafka:"min=v5,max=v5,tag"`
13
14 Topics []RequestTopic `kafka:"min=v0,max=v5"`
15 TimeoutMs int32 `kafka:"min=v0,max=v5"`
16 ValidateOnly bool `kafka:"min=v1,max=v5"`
17}
18
19func (r *Request) ApiKey() protocol.ApiKey { return protocol.CreateTopics }
20

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected