You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Tarun Gupta <ta...@technogica.com> on 2012/04/19 11:17:27 UTC

By passing Socket communication

Hi,

I am interesting in knowing what is the best way to create my Cassandra
Client bypassing the Socket communication and directly interacting with the
'Storage Manager'. I checked Cassandra Wiki and some of the Hector
Examples, mostly what I see is that Cassandra when run in embedded mode,
requires us to use the rpc_port: 9160 for communication with the database.

Regards
Tarun

Re: By passing Socket communication

Posted by Romain HARDOUIN <ro...@urssaf.fr>.
Take a peep at cassandra-unit, maybe this could help you : 
https://github.com/jsevellec/cassandra-unit

Re: By passing Socket communication

Posted by Watanabe Maki <wa...@gmail.com>.
You can get some idea from reading org.apache.cassandra.thrift.CassandraServer.java, but I wonder what kind of use case will justify such effort.

From iPhone


On 2012/04/19, at 18:17, Tarun Gupta <ta...@technogica.com> wrote:

> Hi,
> 
> I am interesting in knowing what is the best way to create my Cassandra Client bypassing the Socket communication and directly interacting with the 'Storage Manager'. I checked Cassandra Wiki and some of the Hector Examples, mostly what I see is that Cassandra when run in embedded mode, requires us to use the rpc_port: 9160 for communication with the database. 
> 
> Regards
> Tarun