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

TestUtils createBrokerConfig method argument mismatch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.8.1.1
    • None
    • core
    • None

    Description

      Trying to write a unit test case for Kafka, and stuck with strange createBrokerConfig issue.
      on TestUtils.createBrokerConfigs(1) it gives me compilation error

      The method createBrokerConfigs(int, boolean) in the type TestUtils is not applicable for the arguments (int)
      When I looked into the scala source code, it contains only two methods:

      createBrokerConfigs(int) // https://github.com/apache/kafka/blob/0.8.1/core/src/test/scala/unit/kafka/utils/TestUtils.scala#L125
      createBrokerConfigs(int, int) //https://github.com/apache/kafka/blob/0.8.1/core/src/test/scala/unit/kafka/utils/TestUtils.scala#L137
      Dont understand where this is coming from.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pjogani parin jogani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: