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

Publishing kafka-client:test in order to utilize the helper utils in TestUtils

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.2.0
    • None
    • None

    Description

      Related to SAMZA-227 (Upgrade KafkaSystemProducer to new java-based Kafka API)
      Turns out that some of the utilities that are helpful in writing unit tests are available in org.apache.kafka.test.TestUtils.java (:kafka-clients). This is not published to maven repository. Hence, we are forced to reproduce the same code in samza. This can be avoided if the test package is published to the Maven repo.

      For example, we are creating a customize MockProducer to be used in Samza unit-tests and access to these quick helper utils will be useful.

      Attachments

        1. KAFKA-1861.patch
          0.6 kB
          Manikumar

        Activity

          People

            omkreddy Manikumar
            navina Navina Ramesh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: