Quantcast
Channel: Kafka Timeline
Viewing all articles
Browse latest Browse all 1519

kafka unit test in Java, TestUtils choosePort sends NoSuchMethodError

$
0
0
I am trying to create unit test case for Kafka in Java with a simple call

Properties props =TestUtils.createBrokerConfig(1,
TestUtils.choosePort(), true);

It fails on

I also tried:

scala.collection.Iterator<Properties> props
= TestUtils.createBrokerConfigs(1, true).iterator();
Same result.

This is a simple call to create kafka server, dont know what is going wrong.

On Tue, Aug 19, 2014 at 10:37 PM, Parin Jogani parin.jogani [ at ] gmail.com
wrote:

Viewing all articles
Browse latest Browse all 1519

Trending Articles