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

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

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 kafka.utils.TestUtils$.choosePorts(Test

kafka unit test in Java, TestUtils choosePort sends NoSuchMethodError

2014-08-23 Thread Parin Jogani
nal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) > > I also tried: scala.collection.Iterator props = TestUtils.createBrokerConfigs(1, true).iterator(); Same result. This is a simple call to create kafka server, dont know what is going wrong. O

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

2014-08-08 Thread parin jogani (JIRA)
parin jogani created KAFKA-1584: --- Summary: TestUtils createBrokerConfig method argument mismatch Key: KAFKA-1584 URL: https://issues.apache.org/jira/browse/KAFKA-1584 Project: Kafka Issue Type

[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