Github user merlimat commented on the issue: https://github.com/apache/incubator-pulsar/issues/523 My only concern is that it might be tricky to know upfront whether the message would be accepted or rejected (If you send msg >5MB). One other thing we could do is to make the Max to be configurable, since the 5MB was very arbitrary anyway. If you can configure it on broker and client, you can raise and be 100% sure it gets accepted, even though compression didn't reduce the size for a particular message.
--- 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. ---