Dear all,

I am using Kafka with the same project together with Akka, and recently Akka 
team released a version that depends on Scala 2.10-M5. The problem is that 
since then I can not use Kafka anymore. I get the following exception when 
trying to initialize the Kafka consumer:

Caused by: java.lang.NoSuchMethodError: 
scala.Predef$.augmentString(Ljava/lang/String;)Lscala/collection/immutable/StringOps;
 at kafka.utils.Utils$.getIntInRange(Utils.scala:189)
 at kafka.utils.Utils$.getInt(Utils.scala:174)
 at kafka.consumer.ConsumerConfig.<init>(ConsumerConfig.scala:56)
 at 
com.maaii.data.model.kafka.KafkaConfigurationManagerImpl.getConsumerConfig(KafkaConfigurationManagerImpl.java:222)
 at 
com.maaii.data.model.kafka.CacheEvictionHandlerImpl.setUpConsumer(CacheEvictionHandlerImpl.java:108)
 at 
com.maaii.data.model.kafka.CacheEvictionHandlerImpl.startUp(CacheEvictionHandlerImpl.java:64)

Can anyone suggest a way of building Kafka for scala 2.10 ?

Thanks in advance.

Regards,
Dima Gutzeit.

Reply via email to