<@U078Y59KC3B> for increasing the max size of the ...
# ask-ai
s
@RunLLM for increasing the max size of the message, do we need to update it in both
broker.conf
and
bookkeeper.conf
?
r
Yes, to increase the max message size in Pulsar, you should update both
maxMessageSize
in
broker.conf
and
nettyMaxFrameSizeBytes
in
bookkeeper.conf
. The broker's
maxMessageSize
(default 5 MB) controls the largest message the broker will accept, while BookKeeper's
nettyMaxFrameSizeBytes
(default 5 MB) must be set equal to or larger than the broker's limit to avoid message rejection at the storage layer. See Pulsar messaging concepts and BookKeeper configuration. Would you like more detail on how to apply these changes or their impact? Sources: - Pulsar messaging concepts - BookKeeper configuration 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.