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

Deserializing produce requests may cause memory leaks when exceptions occur

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Blocker
    • Resolution: Unresolved
    • 2.8.1
    • None
    • clients, core
    • None

    Description

      When the client sends a produce request in an abnormal way and the server accepts it for deserialization, a "java.lang.IllegalArgumentException" may occur, which will cause a large number of "TopicProduceData" objects to be instantiated without being cleaned up. In the end, the entire service of kafka is OOM.

      Attachments

        1. SeaTalk_IMG_1692796505.png
          345 kB
          hudeqi
        2. SeaTalk_IMG_1692796533.png
          455 kB
          hudeqi
        3. SeaTalk_IMG_1692796604.png
          1.14 MB
          hudeqi
        4. SeaTalk_IMG_1692796891.png
          212 kB
          hudeqi

        Activity

          People

            hudeqi hudeqi
            hudeqi hudeqi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: