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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.2.0
    • Component/s: None
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: