gunli commented on code in PR #1049:
URL: https://github.com/apache/pulsar-client-go/pull/1049#discussion_r1263870334
##########
pulsar/producer_partition.go:
##########
@@ -851,13 +851,16 @@ func (p *partitionProducer) internalSingleSend(mm
*pb.MessageMetadata,
p._getConn().WriteData(buffer)
}
+type pendingItemCallback func(err error)
+
type pendingItem struct {
sync.Mutex
buffer internal.Buffer
sequenceID uint64
sentAt time.Time
sendRequests []interface{}
completed bool
+ callback pendingItemCallback
Review Comment:
@RobertIndie done.
@Gleiphir2769 please rebase your PR after this PR is merged.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]