Re: kafka TestUtils createBrokerConfig issue

2014-08-20 Thread Jun Rao
The second one is actually createBrokerConfig (i.e., w/o the ending s). Thanks, Jun On Tue, Aug 19, 2014 at 1:20 PM, Parin Jogani wrote: > Trying to write a unit test case for Kafka, and stuck with strange > createBrokerConfig issue. > on TestUtils.createBrokerConfigs(1) it gives me compilati

kafka TestUtils createBrokerConfig issue

2014-08-19 Thread 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

Fwd: kafka TestUtils createBrokerConfig issue

2014-08-19 Thread 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

Re: kafka TestUtils createBrokerConfig issue

2014-08-12 Thread Guozhang Wang
Parin, I only see the following two functions in TestUtils: createBrokerConfigs(Int, Boolean = true) createBrokerConfig(Int, Int = choosePort(), Boolean = true) // this one does not have the same function name Guozhang On Tue, Aug 12, 2014 at 8:14 AM, Parin Jogani wrote: > Trying to write a

Re: kafka TestUtils createBrokerConfig issue

2014-08-12 Thread Jun Rao
Are you using it from java? The generated class has only the following signature on createBrokerConfig. javap core/build/classes/test/kafka/utils/TestUtils |grep -i createbrokercon Warning: Binary file core/build/classes/test/kafka/utils/TestUtils contains kafka.utils.TestUtils public static jav

kafka TestUtils createBrokerConfig issue

2014-08-12 Thread 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