Jason918 commented on a change in pull request #14382:
URL: https://github.com/apache/pulsar/pull/14382#discussion_r823268153
##########
File path:
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerImpl.java
##########
@@ -1525,6 +1530,7 @@ public int messagesCount() {
@Override
public void connectionOpened(final ClientCnx cnx) {
previousExceptions.clear();
+ chunkMaxMessageSize = Math.min(chunkMaxMessageSize,
ClientCnx.getMaxMessageSize());
Review comment:
> max-size is not something broker specific but it's bk specific
We may have different settings on max-size both in broker and bookie, as
long as broker limit < bookie limit.
And we can update broker level setting by changing the config file and
restart. So it should be handled.
--
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]