Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Response ¶
type Response struct {
ThrottleTimeMs int32 `kafka:"min=v3,max=v8"`
Brokers []ResponseBroker `kafka:"min=v0,max=v8"`
ClusterID string `kafka:"min=v2,max=v8,nullable"`
ControllerID int32 `kafka:"min=v1,max=v8"`
Topics []ResponseTopic `kafka:"min=v0,max=v8"`
ClusterAuthorizedOperations int32 `kafka:"min=v8,max=v8"`
}
type ResponseBroker ¶
type ResponsePartition ¶
type ResponsePartition struct {
ErrorCode int16 `kafka:"min=v0,max=v8"`
PartitionIndex int32 `kafka:"min=v0,max=v8"`
LeaderID int32 `kafka:"min=v0,max=v8"`
LeaderEpoch int32 `kafka:"min=v7,max=v8"`
ReplicaNodes []int32 `kafka:"min=v0,max=v8"`
IsrNodes []int32 `kafka:"min=v0,max=v8"`
OfflineReplicas []int32 `kafka:"min=v5,max=v8"`
}
type ResponseTopic ¶
type ResponseTopic struct {
ErrorCode int16 `kafka:"min=v0,max=v8"`
Name string `kafka:"min=v0,max=v8"`
IsInternal bool `kafka:"min=v1,max=v8"`
Partitions []ResponsePartition `kafka:"min=v0,max=v8"`
TopicAuthorizedOperations int32 `kafka:"min=v8,max=v8"`
}
Click to show internal directories.
Click to hide internal directories.