Github user rdhabalia commented on the issue: https://github.com/apache/incubator-pulsar/issues/523 yes, right now, client considers uncompressed message size while sending message to broker and I don't see any clear reason why can't we consider compressed-message size instead, because broker stores compressed data only to to BK which will be < 5MB only. So, I think we can add validation after compressing the payload. @merlimat do you see any issue for considering compressed size while sending msg to broker.
--- 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. ---