You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Greg Harris (Jira)" <ji...@apache.org> on 2024/05/10 23:11:00 UTC

[jira] [Created] (KAFKA-16702) KafkaLog4jAppenderTest leaks producer instances

Greg Harris created KAFKA-16702:
-----------------------------------

             Summary: KafkaLog4jAppenderTest leaks producer instances
                 Key: KAFKA-16702
                 URL: https://issues.apache.org/jira/browse/KAFKA-16702
             Project: Kafka
          Issue Type: Test
    Affects Versions: 3.8.0
            Reporter: Greg Harris
            Assignee: Greg Harris


The KafkaLog4jAppenderTest has the method getLog4jConfigWithRealProducer which naturally creates a real producer. This appender is never cleaned up within the test, so the producer is leaked.



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