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

Struct Request

protocol/fetch/fetch.go:13–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13type Request struct {
14 ReplicaID int32 `kafka:"min=v0,max=v11"`
15 MaxWaitTime int32 `kafka:"min=v0,max=v11"`
16 MinBytes int32 `kafka:"min=v0,max=v11"`
17 MaxBytes int32 `kafka:"min=v3,max=v11"`
18 IsolationLevel int8 `kafka:"min=v4,max=v11"`
19 SessionID int32 `kafka:"min=v7,max=v11"`
20 SessionEpoch int32 `kafka:"min=v7,max=v11"`
21 Topics []RequestTopic `kafka:"min=v0,max=v11"`
22 ForgottenTopics []RequestForgottenTopic `kafka:"min=v7,max=v11"`
23 RackID string `kafka:"min=v11,max=v11"`
24}
25
26func (r *Request) ApiKey() protocol.ApiKey { return protocol.Fetch }
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected