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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7
    • 0.7.1
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: