Have you joined the cluster and members with role "compute" are Up?

/Patrik

On Sat, Feb 6, 2016 at 8:16 PM, Lukáš Šembera <[email protected]> wrote:

> Hello,
>
> I've run into an issue that unless a cluster aware router is
> (programmatically) created immediately after application startup, it never
> gets any routees.
>
> In my scenario, I had an actor, which created a router when it received
> some kind of init message. All the messages sent to that router ended up in
> dead letters (GetRoutees returned an empty routee vector).
>
> The router was created exactly like to documentation describes:
>
> - val workerRouter = context.actorOf(
> -   ClusterRouterGroup(ConsistentHashingGroup(Nil), 
> ClusterRouterGroupSettings(
> -     totalInstances = 100, routeesPaths = List("/user/statsWorker"),
> -     allowLocalRoutees = true, useRole = Some("compute"))).props(),
> -   name = "workerRouter2")
>
>
> It is most likely a feature, but do you know why is that? Documentation
> does mention it. Thank you.
>
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Patrik Nordwall
Lightbend <http://www.lightbend.com/> -  Reactive apps on the JVM
Twitter: @patriknw

[image: Lightbend] <http://www.lightbend.com/>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to