You need to change max.message.size on the brokers. Thanks,
Jun On Fri, May 16, 2014 at 11:02 AM, Bhavesh Mistry <mistry.p.bhav...@gmail.com > wrote: > Hi Kafka Dev Group, > > We are using Kafka version 0.8 and I am getting following exception: > > > WARN warn, Produce request with correlation id 1617 failed due to > [rawlog,19]: kafka.common.MessageSizeTooLargeException > WARN warn, Produce request with correlation id 1819 failed due to > [rawlog,24]: kafka.common.MessageSizeTooLargeException > WARN warn, Produce request with correlation id 2021 failed due to > [rawlog,27]: kafka.common.MessageSizeTooLargeException > WARN warn, Produce request with correlation id 2223 failed due to > [rawlog,2]: kafka.common.MessageSizeTooLargeException > > > So to increase the message size, I have added following property in the > config properties on producer side. > max.message.size=2000000 > > I get this message "WARN warn, Property max.message.size is not valid". > > Is this valid config property in 0.8 version ? > > > Thanks, > Bhavesh >