Hi Marco,

> Though I would like to configur it to have
> more than one master running and to do something similar to a load balancer
> through the nodes. Is there any way to do it?

The ZooKeeperRoutePolicy constructor takes enabledCount as a second argument:

int enabledCount = 2;
new ZooKeeperRoutePolicy("zookeeper:localhost:39913/someapp/somepolicy", 2);

It allows you to control how many "masters" should be there.

Laters!

-- 
Henryk Konsek
http://henryk-konsek.blogspot.com

Reply via email to