Gleiphir2769 commented on code in PR #805:
URL: https://github.com/apache/pulsar-client-go/pull/805#discussion_r963697232


##########
pulsar/producer_partition.go:
##########
@@ -717,6 +886,7 @@ func (p *partitionProducer) failTimeoutMessages() {
                        for _, i := range pi.sendRequests {
                                sr := i.(*sendRequest)
                                if sr.msg != nil {
+                                       // todo: it's not correct. the size 
should be schemaed uncompressed payload size

Review Comment:
   OK, it's done.



##########
pulsar/producer_partition.go:
##########
@@ -911,6 +1077,7 @@ func (p *partitionProducer) ReceivedSendReceipt(response 
*pb.CommandSendReceipt)
                                
p.metrics.PublishLatency.Observe(float64(now-sr.publishTime.UnixNano()) / 1.0e9)
                                p.metrics.MessagesPublished.Inc()
                                p.metrics.MessagesPending.Dec()
+                               // todo: it's not correct. the size should be 
schemaed uncompressed payload size

Review Comment:
   OK, it's done.



-- 
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]

Reply via email to