Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-247

max.message.size and fetch.size defaults should be consistent

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 0.7.1
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              pyritschard Pierre-Yves Ritschard
              Reporter:
              bmatheny Blake Matheny
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: