Java - Client to a cluster of nodes

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


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

> If not it would be a good feature to have.
> -Abhishek Kona
> _______________________________________________
> riak-users mailing list
> riak-users at

More information about the riak-users mailing list