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

We should limit the maximum size read by a fetch request on the kafka server.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0, 2.2.1
    • None
    • core

    Description

      I found that kafka is not on the server side, limiting the amount of data read per fetch request. This may cause the kafka server program to report an error: OutOfMemory. Due to unreasonable client configuration, fetch.message.max.bytes configuration is too large, such as 100M, because the kafka server receives a lot of fetch requests at a certain moment, causing the server to report an error: OutOfMemory。So I think this is a bug。

        

      Attachments

        1. image-2019-08-25-15-31-56-707.png
          941 kB
          Fake
        2. image-2019-08-25-15-42-24-379.png
          118 kB
          Fake
        3. image-2019-08-29-11-01-04-147.png
          430 kB
          Fake
        4. image-2019-08-29-11-01-17-347.png
          430 kB
          Fake
        5. image-2019-08-29-11-02-01-477.png
          430 kB
          Fake
        6. image-2019-08-29-11-03-37-693.png
          403 kB
          Fake
        7. image-2019-08-29-11-21-49-998.png
          286 kB
          Fake
        8. image-2019-08-29-11-23-53-155.png
          792 kB
          Fake
        9. image-2019-08-29-11-25-52-242.png
          763 kB
          Fake

        Issue Links

          Activity

            People

              Unassigned Unassigned
              LordChen Fake
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: