Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9439

Add more public API tests for KafkaProducer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.7.0
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jeffkbkim Jeff Kim
              bchen225242 Boyang Chen
              Boyang Chen Boyang Chen
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: