kafka unit test in Java, TestUtils choosePort sends NoSuchMethodError

2014-08-23 Thread Parin Jogani
, Parin Jogani parin.jog...@gmail.com wrote: I am trying to create unit test case for Kafka with a simple call Properties props =TestUtils.createBrokerConfig(1, TestUtils.choosePort(), true); It fails on java.lang.NoSuchMethodError: scala.Predef$.intWrapper(I)Lscala/runtime

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

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

kafka TestUtils choosePort NoSuchMethodError

2014-08-19 Thread Parin Jogani
I am trying to create unit test case for Kafka with a simple call Properties props =TestUtils.createBrokerConfig(1, TestUtils.choosePort(), true); It fails on java.lang.NoSuchMethodError: scala.Predef$.intWrapper(I)Lscala/runtime/RichInt; at

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

2014-08-11 Thread parin jogani (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] parin jogani updated KAFKA-1584: Description: Trying to write a unit test case for Kafka, and stuck with strange