Clarify pool router routees are always local (#29419)

* Clarify pool router routees are always local

* Update routers.md
This commit is contained in:
Johan Andrén 2020-07-30 11:04:30 +02:00 committed by GitHub
parent a061886af2
commit c5124a00b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,8 @@ then forward messages to.
If a child is stopped the pool router removes it from its set of routees. When the last child stops the router itself stops.
To make a resilient router that deals with failures the routee `Behavior` must be supervised.
As actor children are always local the routees are never spread across a cluster with a pool router.
Scala
: @@snip [RouterSpec.scala](/akka-actor-typed-tests/src/test/scala/docs/akka/typed/RouterSpec.scala) { #pool }