I'm playing with akka.actor.deployment configuration and found it 
confusing. Assume that we have the following dispatcher:

test-dispatcher{
  executor = "thread-pool-executor"
  type = Dispatcher
}

and we have two actors: */user/first* and */user/first/second*

Now, if we set the deployment config as follows:
akka.actor.deployment{
  "/*" {
     dispatcher = test-dispatcher
  }
}

In this case */user/first* well as all other actors will use the 
dispatcher. I mean *deadLetters*, *logging*, etc... which would normally be 
handled by *default-dispatcher*. */user/first/second * in turn uses 
*default-dispatcher. *

If we set 
akka.actor.deployment{
  "/**" {
    dispatcher = test-dispatcher
  }
}

then */user/first*, */user/first/second* as well as other system actors 
will use the dispatcher. The documentation was not clear about that. They 
said clearly in the documentation 
<http://doc.akka.io/docs/akka/2.4/general/configuration.html#Actor_Deployment_Configuration>
:

> The deployment section for a specific actor is defined by the path of the 
> actor relative to */user*


So, system actor should have not been affected by the deployment 
configuration. But they are... Is it a bug or I missed something? 

-- 
>>>>>>>>>>      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