[ https://issues.apache.org/jira/browse/KAFKA-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Rao updated KAFKA-247: -------------------------- Resolution: Fixed Fix Version/s: 0.7.1 Assignee: Pierre-Yves Ritschard Status: Resolved (was: Patch Available) Pierre-Yves, thanks for the patch. Took MaxFetchSize out and committed the patch. > max.message.size and fetch.size defaults should be consistent > ------------------------------------------------------------- > > Key: KAFKA-247 > URL: https://issues.apache.org/jira/browse/KAFKA-247 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.7 > Reporter: Blake Matheny > Assignee: Pierre-Yves Ritschard > Priority: Minor > Labels: newbie > Fix For: 0.7.1 > > Attachments: 0001-Fix-KAFKA-247-by-bumping-fetch.size.patch > > > The default max.message.size for a producer is ~976kB. The default fetch.size > for a consumer is 300kB. Having the default fetch.size less than the default > max.message.size causes new users with messages larger than fetch.size to run > into the InvalidMessageSizeException issue. > Making the default max.message.size less than or equal to the default > fetch.size would eliminate that problem for most new setups. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira