incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giancarlo Silvestrin <giancar...@gmail.com>
Subject Re: DataStax driver with Scala/Akka
Date Thu, 03 Oct 2013 17:36:57 GMT
Richard,

I'm using akka + cassandra as well. I copied cassandra.scala to my local
project and it compiled fine using SBT.

If you can share your pom.xml I can try to help you.

-- Giancarlo

On Thu, Oct 3, 2013 at 12:14 PM, Richard Rodseth <rrodseth@gmail.com> wrote:

> I wanted to try the async Cassandra driver from DataStax, in a Scala/Akka
> app, so I took a look at the Akka Cassandra Activator template.
>
> https://github.com/eigengo/activator-akka-cassandra
>
> I copied cassandra.scala from the template (it contains a conversion from
> ResultSetFuture to a Scala future).
>
> Unfortunately that file doesn't compile in my project - the error is:
>
> value addListener is not a member of
> com.datastax.driver.core.ResultSetFuture
>
>
> I have the following in my Maven pom.xml
>
>            <dependency>
>
>             <groupId>com.datastax.cassandra</groupId>
>
>             <artifactId>cassandra-driver-core</artifactId>
>
>             <version>1.0.3</version>
>
>           </dependency>
>
> Probably something silly. Any pointers appreciated. Any other non-blocking
> Akka/Cassandra samples out there for me to look at?
>
> Thanks in advance
>
> RIchard
>

Mime
View raw message