You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Boyang Chen (Jira)" <ji...@apache.org> on 2020/01/15 19:47:00 UTC

[jira] [Created] (KAFKA-9439) Add more public API tests for KafkaProducer

Boyang Chen created KAFKA-9439:
----------------------------------

             Summary: Add more public API tests for KafkaProducer
                 Key: KAFKA-9439
                 URL: https://issues.apache.org/jira/browse/KAFKA-9439
             Project: Kafka
          Issue Type: Improvement
            Reporter: Boyang Chen


While working on KIP-447, we realized a lack of test coverage on the KafkaProducer public APIs. For example, `commitTransaction` and `sendOffsetsToTransaction` are not even called in the `KafkaProducerTest.java` and the code coverage is only 75%. 

Adding more unit tests here will be pretty valuable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)