You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "TengYao Chi (Jira)" <ji...@apache.org> on 2025/02/16 08:10:00 UTC
[jira] [Commented] (KAFKA-18806) Resource leak in MemoryRecordsBuilder in RecordsUtil
[ https://issues.apache.org/jira/browse/KAFKA-18806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17927474#comment-17927474 ]
TengYao Chi commented on KAFKA-18806:
-------------------------------------
Hi [~showuon]
May I take over this one ?
> Resource leak in MemoryRecordsBuilder in RecordsUtil
> ----------------------------------------------------
>
> Key: KAFKA-18806
> URL: https://issues.apache.org/jira/browse/KAFKA-18806
> Project: Kafka
> Issue Type: Bug
> Reporter: Luke Chen
> Priority: Major
> Labels: newbie
>
> We forgot to close the MemoryRecordsBuilder resource (which contains streams) here: https://github.com/apache/kafka/blob/e330f0bf2570a27811fa20a2f446b101a7a656f3/clients/src/main/java/org/apache/kafka/common/record/RecordsUtil.java#L92.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)