You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Neha Narkhede (JIRA)" <ji...@apache.org> on 2014/08/12 06:45:12 UTC

[jira] [Closed] (KAFKA-1584) TestUtils createBrokerConfig method argument mismatch

     [ https://issues.apache.org/jira/browse/KAFKA-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neha Narkhede closed KAFKA-1584.
--------------------------------


> TestUtils createBrokerConfig method argument mismatch
> -----------------------------------------------------
>
>                 Key: KAFKA-1584
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1584
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8.1.1
>            Reporter: parin jogani
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)