rdhabalia opened a new pull request #12704:
URL: https://github.com/apache/pulsar/pull/12704


   ### Motivation
   Right now, pulsar-client prints stats with incorrect pending queue size for 
the batch messages. if the user configures batch-message size 100 (or batch 
delay is 10ms) and publishes 1000 messages then the producer prints stats with  
< 10 pending messages instead 1000 messages which is published by user. It 
confuses the user because the user sees a different counter than actual 
published messages. it creates confusion when the user gets ProducerQueueFull 
Error and stats prints queue size is 10 and allowed pending-messages are 1000.
   
   ### Modification
   Show correct pending messages for batch messages.


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