Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { Topics []RequestTopic `kafka:"min=v0,max=v5"` TimeoutMs int32 `kafka:"min=v0,max=v5"` ValidateOnly bool `kafka:"min=v1,max=v5"` }
type RequestAssignment ¶
type RequestConfig ¶
type RequestTopic ¶
type RequestTopic struct { Name string `kafka:"min=v0,max=v4|min=v5,max=v5,compact"` NumPartitions int32 `kafka:"min=v0,max=v5"` ReplicationFactor int16 `kafka:"min=v0,max=v5"` Assignments []RequestAssignment `kafka:"min=v0,max=v5"` Configs []RequestConfig `kafka:"min=v0,max=v5"` }
type Response ¶
type Response struct { ThrottleTimeMs int32 `kafka:"min=v2,max=v5"` Topics []ResponseTopic `kafka:"min=v0,max=v5"` }
type ResponseConfig ¶
type ResponseTopic ¶
type ResponseTopic struct { Name string `kafka:"min=v0,max=v4|min=v5,max=v5,compact"` ErrorCode int16 `kafka:"min=v0,max=v5"` ErrorMessage string `kafka:"min=v1,max=v4,nullable|min=v5,max=v5,compact,nullable"` NumPartitions int32 `kafka:"min=v5,max=v5"` ReplicationFactor int16 `kafka:"min=v5,max=v5"` Configs []ResponseConfig `kafka:"min=v5,max=v5"` }
Click to show internal directories.
Click to hide internal directories.