Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
TimeoutMs int32 `kafka:"min=v0,max=v0"`
Topics []RequestTopic `kafka:"min=v0,max=v0"`
// contains filtered or unexported fields
}
Detailed API definition: https://kafka.apache.org/protocol#The_Messages_AlterPartitionReassignments
type RequestPartition ¶
type RequestTopic ¶
type RequestTopic struct {
Name string `kafka:"min=v0,max=v0"`
Partitions []RequestPartition `kafka:"min=v0,max=v0"`
}
type Response ¶
type Response struct {
ThrottleTimeMs int32 `kafka:"min=v0,max=v0"`
ErrorCode int16 `kafka:"min=v0,max=v0"`
ErrorMessage string `kafka:"min=v0,max=v0,nullable"`
Results []ResponseResult `kafka:"min=v0,max=v0"`
// contains filtered or unexported fields
}
type ResponsePartition ¶
type ResponseResult ¶
type ResponseResult struct {
Name string `kafka:"min=v0,max=v0"`
Partitions []ResponsePartition `kafka:"min=v0,max=v0"`
}
Click to show internal directories.
Click to hide internal directories.