kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Running kafka with scala 2.10-M*
Date Thu, 02 Aug 2012 01:51:06 GMT
For now, you can probably get it working by changing the scala version in
project/build.properties

Thanks,

Jun

On Wed, Aug 1, 2012 at 6:42 PM, Dima Gutzeit <gutzeit@maaii.com> wrote:

> Any idea when its due to be complete and when the new sbt/scala will be
> supported ?
> You see, I am a Java kind of guy and I do not want to learn SBT just for
> that, although I can :).
>
> The patch attached to the case is outdated since was created for 0.7 and
> the build files have been changed since then.
>
> Dima.
>
>
>
>
>
> On 1/8/12 10:57 PM, "Jun Rao" <junrao@gmail.com> wrote:
>
> >Dima,
> >
> >This is being tracked in https://issues.apache.org/jira/browse/KAFKA-134.
> >The patch is not complete, but you can probably give it a try.
> >
> >Thanks,
> >
> >Jun
> >
> >On Sun, Jul 29, 2012 at 10:24 PM, Dima Gutzeit <gutzeit@maaii.com> wrote:
> >
> >> 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/immutabl
> >>e/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.getConsumerConfi
> >>g(KafkaConfigurationManagerImpl.java:222)
> >>  at
> >>
> >>com.maaii.data.model.kafka.CacheEvictionHandlerImpl.setUpConsumer(CacheEv
> >>ictionHandlerImpl.java:108)
> >>  at
> >>
> >>com.maaii.data.model.kafka.CacheEvictionHandlerImpl.startUp(CacheEviction
> >>HandlerImpl.java:64)
> >>
> >> Can anyone suggest a way of building Kafka for scala 2.10 ?
> >>
> >> Thanks in advance.
> >>
> >> Regards,
> >> Dima Gutzeit.
> >>
>
>

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