Hi,

thanks for answer. Sorry, I'm not sure I understand you - I'm still stuck 
those - could you give me an example how to deploy my worker as router, 
let's say as RoundRobinPool of 5 instances ? How would I specify it in 
Deploy ? If I use Deploy(routerConfig = FromConfig) I still have the 
relative address problem... example would be greatly appreciated.

Or are you saying that I should just create deploy manually, and arguments 
I put inside, put to some custom section in my own config ?

On Wednesday, 9 September 2015 21:01:02 UTC+12, Akka Team wrote:
>
> Hi Marek,
>
> In this case it is better to not rely on the name of the actor since it 
> might depend on several things. Instead, you can specify a Deploy object on 
> your Props directly (programmatically). See the docs for Deploy here: 
> http://doc.akka.io/api/akka/2.3.13/#akka.actor.Deploy
>
> Then you can use myProps.withDeploy(myDeploy) to install it on the Props 
> itself. Unfortunately the code that parses a Deploy object from config is 
> internal, otherwise you would be able to simply add a custom configuration 
> section in your config for this deployment and parse it directly from there.
>
> -Endre
>
> On Sun, Sep 6, 2015 at 10:25 PM, Marek Kadek <[email protected] 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I would like to do pretty much something like this:
>>
>> http://doc.akka.io/docs/akka-stream-and-http-experimental/current/scala/stream-integrations.html#actorsubscriber
>>
>> that there is a ActorSubscriber, which has some children... I would like 
>> to control deyploment of the children via external configuraiton (one 
>> example could be a pool of workers...).
>>
>> akka.actor.deployment { 
>>   /?actor-sink-materialzied-name?/worker { 
>>    ... some cfg
>>   } 
>> }
>>
>> But since I do not know what will be the materialized name be, how would 
>> one go about this ?
>>
>> Thanks
>>
>>
>> -- 
>> >>>>>>>>>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Akka Team
> Typesafe - Reactive apps on the JVM
> Blog: letitcrash.com
> Twitter: @akkateam
>

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