You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Sergio Gonzalez <sg...@cecropiasolutions.com> on 2016/08/10 04:01:48 UTC

Getting maximum message size

Hi users,

How i should setting the broker (replica.fetch.max.bytes,
message.max.bytes) and the consumer (fetch.message.max.bytes) to transmit
the MAXIMUM message size in kafka_2.10-0.8.2.0 version?

Thanks,
​Sergio GQ​

Re: Getting maximum message size

Posted by Joe Lawson <jl...@opensourceconnections.com>.
The maximum message size is all dependent on the message max bytes you set
on the topic (or global broker). You want to make sure the consumer max is
in sync with the broker max.

Remember that pumping huge messages though can saturate your network
quickly. Try to trim down message structure to only what is needed or use a
codec like avro to reduce message sizes.

On Wed, Aug 10, 2016 at 12:01 AM, Sergio Gonzalez <
sgonzales@cecropiasolutions.com> wrote:

> Hi users,
>
> How i should setting the broker (replica.fetch.max.bytes,
> message.max.bytes) and the consumer (fetch.message.max.bytes) to transmit
> the MAXIMUM message size in kafka_2.10-0.8.2.0 version?
>
> Thanks,
> ​Sergio GQ​
>



-- 
-Joe