Skip to content

Sending the message size greater then 5 MB from producer throwing error in pulsar #22492

Answered by slawrencemd
ragaur-tibco asked this question in Q&A
Discussion options

You must be logged in to vote

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 instead. But note that chunking cannot be enabled when batching is on.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lhotari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants