Replace ClusterRouterGroup/Pool "use-role" with "use-role-set" #23496

This commit is contained in:
Sébastien Lorion 2017-08-09 16:06:18 +02:00 committed by Johan Andrén
parent 5477a6f92d
commit a95a94acff
22 changed files with 445 additions and 96 deletions

View file

@ -606,7 +606,7 @@ akka.actor.deployment {
cluster {
enabled = on
allow-local-routees = on
use-role = compute
use-roles = ["compute"]
}
}
}
@ -622,7 +622,7 @@ the router will try to use them as soon as the member status is changed to 'Up'.
The actor paths without address information that are defined in `routees.paths` are used for selecting the
actors to which the messages will be forwarded to by the router.
Messages will be forwarded to the routees using @ref:[ActorSelection](actors.md#actorselection), so the same delivery semantics should be expected.
It is possible to limit the lookup of routees to member nodes tagged with a certain role by specifying `use-role`.
It is possible to limit the lookup of routees to member nodes tagged with a particular set of roles by specifying `use-roles`.
`max-total-nr-of-instances` defines total number of routees in the cluster. By default `max-total-nr-of-instances`
is set to a high value (10000) that will result in new routees added to the router when nodes join the cluster.
@ -693,7 +693,7 @@ akka.actor.deployment {
cluster {
enabled = on
allow-local-routees = on
use-role = compute
use-roles = ["compute"]
}
}
}
@ -722,14 +722,14 @@ akka.actor.deployment {
enabled = on
max-nr-of-instances-per-node = 3
allow-local-routees = on
use-role = compute
use-roles = ["compute"]
}
}
}
```
It is possible to limit the deployment of routees to member nodes tagged with a certain role by
specifying `use-role`.
It is possible to limit the deployment of routees to member nodes tagged with a particular set of roles by
specifying `use-roles`.
`max-total-nr-of-instances` defines total number of routees in the cluster, but the number of routees
per node, `max-nr-of-instances-per-node`, will not be exceeded. By default `max-total-nr-of-instances`
@ -797,7 +797,7 @@ akka.actor.deployment {
enabled = on
max-nr-of-instances-per-node = 3
allow-local-routees = on
use-role = compute
use-roles = ["compute"]
}
}
}