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
            Priority: Minor


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

        

Reply via email to