Hi Jeff,

you can log when a message is received in the worked actor. That will give
the system address and the actor name of the worker.

On Tue, Apr 14, 2015 at 10:38 AM, <[email protected]> wrote:

> Hi,
> I have set a Akka cluster using 9 server and each server running 18 actor.
> I have config a router:
>
> actor {
>   provider = "akka.cluster.ClusterActorRefProvider"
>   deployment {
>     /controller/producer/workerRouter {
>       router = random-group
>       routees.paths = ["/user/sbecitacube/worker1", 
> "/user/sbecitacube/worker2", "/user/sbecitacube/worker3", 
> "/user/sbecitacube/worker4", "/user/sbecitacube/worker5", 
> "/user/sbecitacube/worker6", "/user/sbecitacube/worker7", 
> "/user/sbecitacube/worker8", "/user/sbecitacube/worker9", 
> "/user/sbecitacube/worker10", "/user/sbecitacube/worker11", 
> "/user/sbecitacube/worker12", "/user/sbecitacube/worker13", 
> "/user/sbecitacube/worker14", "/user/sbecitacube/worker15", 
> "/user/sbecitacube/worker16", "/user/sbecitacube/worker17", 
> "/user/sbecitacube/worker18"]
>       cluster {
>         max-nr-of-instances-per-node = 18
>         min-nr-of-instances-per-node = 18
>         enabled = on
>         allow-local-routees = on
>       }
>     }
>   }
> }
>
>
> For PD: I want to know how to get info about a router send message to
> which routee?
> I need to log a router send message to which routee(Host/IP and actor).
>
> Thanks,
> Zhang, Yangjie(Jeff)
> email: [email protected]
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Martynas Mickevičius
Typesafe <http://typesafe.com/> – Reactive
<http://www.reactivemanifesto.org/> Apps on the JVM

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to