Java - Client to a cluster of nodes

Russell Brown russell.brown at mac.com
Tue Mar 8 09:04:35 EST 2011


Hi,

On Tue, 2011-03-08 at 19:24 +0530, Abhishek Kona wrote:
> Hi,
> 
> Is it possible to create a client to cluster of nodes instead of a
> single node in the Riak Java API.
> RiakClient riak = new RiakClient(config);
> 
> 
> In the documentation, I have not found any method where I can specify
> multiple URLS to the RiakClient and generate a client to a cluster.
> 
> So I am just confirming is this supported?

Not at present.

You could use haproxy between your Java client and the Riak cluster.

(Like Bob Feldbauer does
http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-February/003311.html
)

> If not it would be a good feature to have.
> 
> -Abhishek Kona
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com






More information about the riak-users mailing list