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 <
[email protected]> 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

Reply via email to