tony tang created KAFKA-20726:
---------------------------------

             Summary: Don't reuse the BufferSupplier in kraft state machine
                 Key: KAFKA-20726
                 URL: https://issues.apache.org/jira/browse/KAFKA-20726
             Project: Kafka
          Issue Type: Bug
          Components: kraft
            Reporter: tony tang
            Assignee: tony tang


{{KRaftControlRecordStateMachine}} uses {{DefaultSupplier}} for its entire 
lifetime. {{DefaultSupplier}} caches one buffer per distinct capacity and never 
evicts, causing unbounded memory growth as {{__cluster_metadata}} batches vary 
in size. 

We want to fix by not reusing the BufferSupplier in kraft state machine



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to