shengminw opened a new pull request, #4469:
URL: https://github.com/apache/rocketmq/pull/4469

   ## What is the purpose of the change
   Optimize encoder buffer initialization, expand buffer length to avoid 
message size exceeding when messageBodySize is on the boundry of 
maxMessageBodySize.
   
   ## Brief changelog
   
   1. add maxMessageSize variable differing from maxMessageBodySize(default 
maxMessageSize = maxMessageBodySize + 64kb)
   
   2. add checking messagesize
   
   3. add junit test  "testEncodeLongMessage()"


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