[
https://issues.apache.org/jira/browse/KAFKA-20726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
José Armando García Sancio resolved KAFKA-20726.
------------------------------------------------
Resolution: Fixed
> 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
> Priority: Major
> Fix For: 4.1.3, 4.4.0, 4.2.2, 4.3.2
>
>
> {{KRaftControlRecordStateMachine}} uses {{DefaultSupplier}} for its entire
> lifetime. {{DefaultSupplier}} caches one buffer per distinct capacity and
> never evicts, causing unbounded memory growth.
> We want to fix by not reusing the BufferSupplier in kraft state machine
--
This message was sent by Atlassian Jira
(v8.20.10#820010)