|
@@ -123,6 +123,13 @@ func (ps *produceSet) buildRequest() *ProduceRequest {
|
|
|
for topic, partitionSet := range ps.msgs {
|
|
|
for partition, set := range partitionSet {
|
|
|
if req.Version >= 3 {
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
rb := set.recordsToSend.RecordBatch
|
|
|
if len(rb.Records) > 0 {
|
|
|
rb.LastOffsetDelta = int32(len(rb.Records) - 1)
|