athena
athena copied to clipboard
There should be a simple example
a simple example exhibiting best practices of how to connect to a cluster and exhibit a simple query would be quite useful.
I'm actually still trying to figure this out myself - there's the Session interface which is a high level wrapper around a cluster, there's the raw Cluster actor and I'm also planning on a yet-to-be-implemented Java friendly API that exposes common calls that return Guava ListenableFuture instances.
For now, the best way to connect is to just instantiate a Session with an implicit ActorRefFactory. After we get some of the API cleaned up a bit more, I'm planning on adding a section to the README with a simple how to.