You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Bhavesh Mistry <mi...@gmail.com> on 2014/05/13 20:23:53 UTC

Max Message Size

Hi Kafka Team,

Is there any message size limitation from producer side ?  If there, is
what happens to message, does it get truncated or message is lost ?

Thanks,

Bhavesh

Re: Max Message Size

Posted by Jun Rao <ju...@gmail.com>.
There is a configurable max message size on the broker. Oversized messages
will be rejected.

Thanks,

Jun


On Tue, May 13, 2014 at 11:23 AM, Bhavesh Mistry <mistry.p.bhavesh@gmail.com
> wrote:

> Hi Kafka Team,
>
> Is there any message size limitation from producer side ?  If there, is
> what happens to message, does it get truncated or message is lost ?
>
> Thanks,
>
> Bhavesh
>

Re: Max Message Size

Posted by Darion Yaphet <da...@gmail.com>.
max.message.bytes

This is largest message size Kafka will allow to be appended to this topic.
Note that if you increase this size you must also increase your consumer's
fetch size so they can fetch messages this large.

When the message length is larger than max,message.bytes  maybe throw an
exception .. I think ~


2014-05-14 2:23 GMT+08:00 Bhavesh Mistry <mi...@gmail.com>:

> Hi Kafka Team,
>
> Is there any message size limitation from producer side ?  If there, is
> what happens to message, does it get truncated or message is lost ?
>
> Thanks,
>
> Bhavesh
>



-- 


long is the way and hard  that out of Hell leads up to light