You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/05/10 02:59:09 UTC

[GitHub] [pulsar] zymap commented on a change in pull request #4247: [WIP] PIP-36: Support set message size in broker.conf

zymap commented on a change in pull request #4247: [WIP] PIP-36: Support set message size in broker.conf
URL: https://github.com/apache/pulsar/pull/4247#discussion_r282732180
 
 

 ##########
 File path: pulsar-broker/src/main/java/org/apache/pulsar/PulsarBrokerStarter.java
 ##########
 @@ -139,6 +140,15 @@ private static boolean argsContains(String[] args, String arg) {
                 brokerConfig = loadConfig(starterArguments.brokerConfigFile);
             }
 
+            int maxFrameSize = brokerConfig.getMaxMessageSize() + (10 * 1024);
+            if (maxFrameSize < 0) {
 
 Review comment:
   Oh, will replace it 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services