Jason918 commented on a change in pull request #14007:
URL: https://github.com/apache/pulsar/pull/14007#discussion_r802473579
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
##########
@@ -2074,6 +2115,24 @@ private void recoverProcessOpSendMsgFrom(ClientCnx cnx,
MessageImpl from, long e
}
}
+ /**
+ * Check final message size for non-batch and non-chunked messages only.
+ */
+ public boolean checkMaxMessageSize(OpSendMsg op) {
Review comment:
Good point, this method name is confusing.
Renamed this to `isMessageSizeExceeded`
--
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]