Github user rdhabalia commented on the issue:

    https://github.com/apache/incubator-pulsar/issues/523
  
    > One other thing we could do is to make the Max to be configurable, since 
the 5MB was very arbitrary anyway.
    
    If it's configurable then client may start sending msg with unreasonable 
size which will be rejected at broker due to  
[frame-size/storage-limitation](https://github.com/apache/incubator-pulsar/blob/master/pulsar-common/src/main/java/org/apache/pulsar/common/api/PulsarDecoder.java#L60),
 So, client will not know up-front.
    
    > If you can configure it on broker and client, you can raise and be 100% 
sure it gets accepted
    
    If it's configurable at client then value might be different than what 
broker is allowing and it requires some type of sync when client connects to 
broker.? Also, it may not address payload which can be highly compressible 
(eg.xml,json)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to