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
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
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
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
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
[
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