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

handleFetchRequest should do down conversion after throttling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.11.0.0
    • None
    • None

    Description

      We currently do down conversion before throttling. This is good from the perspective of getting the correct message size, but it means that we can cause OOMs due to excessive memory retention. That is, by performing down conversion, we are loading the records into the heap even though we are not ready to send them yet.

      It would be preferable to throttle before down conversion.

      In addition, we currently updates bytesOut before throttling. We should do it after throttling as well.

      Attachments

        Issue Links

          Activity

            People

              rsivaram Rajini Sivaram
              ijuma Ismael Juma
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: