[
https://issues.apache.org/jira/browse/KAFKA-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neha Narkhede closed KAFKA-247.
-------------------------------
> 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 was sent by Atlassian JIRA
(v6.2#6252)