zhaoyu1989 opened a new issue, #771:
URL: https://github.com/apache/pulsar-client-go/issues/771
#### Expected behavior
1. when i send large message body,the client has a queue to hold it and
send by batch, there are two triggers: 1. message
count lager then `maxMessages`, OR 2. messge body sum is larger then
'BatchingMaxSize'
2. Know the codes are 【bc.numMessages+1 <= bc.maxMessages ||
bc.buffer.ReadableBytes()+msgSize <= uint32(bc.maxBatchSize)】,and it will
brings somemany Flush opertion when i send large message body
#### Actual behavior
1. 【unable to add message to batch】will called when send message body size
nearly 'BatchingMaxSize'
#### Steps to reproduce
1. send body size lager then 3M
2. make send fast than 1000 qps
#### System configuration
**Pulsar version**: 2.9.0
--
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]