Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { TransactionalID string `kafka:"min=v3,max=v8,nullable"` Acks int16 `kafka:"min=v0,max=v8"` Timeout int32 `kafka:"min=v0,max=v8"` Topics []RequestTopic `kafka:"min=v0,max=v8"` }
func (*Request) HasResponse ¶ added in v0.4.1
type RequestPartition ¶
type RequestTopic ¶
type RequestTopic struct { Topic string `kafka:"min=v0,max=v8"` Partitions []RequestPartition `kafka:"min=v0,max=v8"` }
type Response ¶
type Response struct { Topics []ResponseTopic `kafka:"min=v0,max=v8"` ThrottleTimeMs int32 `kafka:"min=v1,max=v8"` }
type ResponseError ¶
type ResponsePartition ¶
type ResponsePartition struct { Partition int32 `kafka:"min=v0,max=v8"` ErrorCode int16 `kafka:"min=v0,max=v8"` BaseOffset int64 `kafka:"min=v0,max=v8"` LogAppendTime int64 `kafka:"min=v2,max=v8"` LogStartOffset int64 `kafka:"min=v5,max=v8"` RecordErrors []ResponseError `kafka:"min=v8,max=v8"` ErrorMessage string `kafka:"min=v8,max=v8,nullable"` }
type ResponseTopic ¶
type ResponseTopic struct { Topic string `kafka:"min=v0,max=v8"` Partitions []ResponsePartition `kafka:"min=v0,max=v8"` }
Click to show internal directories.
Click to hide internal directories.