|
@@ -2,16 +2,16 @@ package kafka
|
|
|
|
|
|
type produceRequestPartitionBlock struct {
|
|
|
partition int32
|
|
|
- msgSet *messageSet
|
|
|
+ msgSet *messageSet
|
|
|
}
|
|
|
|
|
|
type produceRequestTopicBlock struct {
|
|
|
- topic *string
|
|
|
+ topic *string
|
|
|
partitions []produceRequestPartitionBlock
|
|
|
}
|
|
|
|
|
|
type produceRequest struct {
|
|
|
requiredAcks int16
|
|
|
- timeout int32
|
|
|
- topics []produceRequestTopicBlock
|
|
|
+ timeout int32
|
|
|
+ topics []produceRequestTopicBlock
|
|
|
}
|