We have improved the way roles and proxies work significantly in 2.4-M2:
http://doc.akka.io/docs/akka/2.4-M2/scala/cluster-sharding.html
On Mon, Aug 10, 2015 at 9:41 PM, Yifei wrote:
> Thanks Patrik,
>
> I have the scenario shown below:
>
> There are 3 shard regions, A, B and C, A send messages
Thanks Patrik,
I have the scenario shown below:
There are 3 shard regions, A, B and C, A send messages to B, B forwards
them to C and C will process them and send back to B
ShardRegion A -> ShardRegion B <-> ShardRegion C
A has proxy of B
B has proxy of C
C has proxy of B
This will work if I
You can only specify one role in Akka 2.3.x.
In 2.4-M2 you can use different settings for each entity type. E.g. User
enities can run on nodes with roleX and ShoppingCart enities can run on
nodes with roleY.
fre 7 aug 2015 kl. 17:33 skrev Yifei :
> Thanks Patrik,
>
> Can i define multiple roles in
Thanks Patrik,
Can i define multiple roles in akka.contrib.cluster.sharding.role?
If I have a dispatcher shard region, which starts multiple different
proxies and dispatches messages to those shardregions via the proxy, how
should I define the akka.contrib.cluster.sharding.role?
If I understa
The purpose of the role is to define that the shards are only supposed to
run on a subset of the nodes, the ones tagged with the specified role. If
you start it on a node that does not have this role it will be started in
proxy only mode.
By the way, we have changed this in 2.4-M2 to make the usag
After I set akka.contrib.cluster.sharding.role to the same role in
akka.cluster.role, it works.
What does akka.contrib.cluster.sharding.role mean?
On Thursday, August 6, 2015 at 11:37:28 AM UTC-4, Yifei wrote:
>
> Hi,
>
> I have two seeds nodes up in my cluster. When I tried to start a new sha