kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Kreps <jay.kr...@gmail.com>
Subject Re: [kafka-dev] Is the kafka java api working under scala 2.9.1 ?
Date Tue, 27 Mar 2012 19:28:01 GMT
Hi Vincent,

This google group is dead. Moving the discussion to the apache list where
we do things now. How did you find this address (I want to make sure we
have the right thing posted everywhere)?

-Jay

On Mon, Mar 26, 2012 at 4:49 AM, Vincent_Z <zouzhiguang@gmail.com> wrote:

> Hello,
>
> I'm trying to test Kafka examples with a simple Producer, and I get this
> exception when I try to instantiate a Producer. I've scala library 2.9.1 in
> my classpath, is it compatible with Kafka 0.7 ?
>
> Caused by: java.lang.NoSuchMethodError:
> scala.math.LowPriorityOrderingImplicits.ordered()Lscala/math/Ordering;
>        at
> kafka.producer.ZKBrokerPartitionInfo$$anonfun$kafka$producer$ZKBrokerPartitionInfo$$getZKTopicPartitionInfo$1.apply(ZKBrokerPartitionInfo.scala:177)
>        at
> kafka.producer.ZKBrokerPartitionInfo$$anonfun$kafka$producer$ZKBrokerPartitionInfo$$getZKTopicPartitionInfo$1.apply(ZKBrokerPartitionInfo.scala:167)
>        at scala.collection.Iterator$class.foreach(Iterator.scala:660)
>        at
> scala.collection.JavaConversions$JIteratorWrapper.foreach(JavaConversions.scala:573)
>        at
> scala.collection.IterableLike$class.foreach(IterableLike.scala:73)
>        at
> scala.collection.JavaConversions$JListWrapper.foreach(JavaConversions.scala:615)
>        at
> kafka.producer.ZKBrokerPartitionInfo.kafka$producer$ZKBrokerPartitionInfo$$getZKTopicPartitionInfo(ZKBrokerPartitionInfo.scala:167)
>        at
> kafka.producer.ZKBrokerPartitionInfo.<init>(ZKBrokerPartitionInfo.scala:66)
>        at kafka.producer.Producer.<init>(Producer.scala:53)
>        at kafka.javaapi.producer.Producer.<init>(Producer.scala:33)

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message