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=v1"` TimeoutMs int32 `kafka:"min=v0,max=v1"` ValidateOnly bool `kafka:"min=v0,max=v1"` }
Detailed API definition: https://kafka.apache.org/protocol#The_Messages_CreatePartitions. TODO: Support version 2.
type RequestAssignment ¶
type RequestAssignment struct {
BrokerIDs []int32 `kafka:"min=v0,max=v1"`
}
type RequestTopic ¶
type RequestTopic struct { Name string `kafka:"min=v0,max=v1"` Count int32 `kafka:"min=v0,max=v1"` Assignments []RequestAssignment `kafka:"min=v0,max=v1,nullable"` }
type Response ¶
type Response struct { ThrottleTimeMs int32 `kafka:"min=v0,max=v1"` Results []ResponseResult `kafka:"min=v0,max=v1"` }
type ResponseResult ¶
Click to show internal directories.
Click to hide internal directories.