GitHub user slawrencemd added a comment to the discussion: Sending the message size greater then 5 MB from producer throwing error in pulsar
Note: I'm pretty new to Pulsar myself, so this is just from my basic understanding. That error makes sense to me. Batching's purpose seems to be to be for increasing throughput gains - instead of making multiple TCP calls to the broker, use 1 network call with a batch of messages. It amortizes the network costs. I think you might be looking for [chunking ](https://pulsar.apache.org/docs/next/concepts-messaging/#chunking)instead. But note that chunking cannot be enabled when batching is on.  GitHub link: https://github.com/apache/pulsar/discussions/22492#discussioncomment-9096348 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
