May 2017
Intermediate to advanced
414 pages
13h
English
So, it is possible to deploy your remote actor programmatically. To accomplish this, you need to use the withDeploy method, which allows you to specify where you want to deploy your actor. As a reminder, Props defines the contract to create your actor. Every time you want to instantiate a new actor, you provide a Props object to an actor system; this creates the actors as per the Props configuration.
By default, deploy uses LocalScope to deploy your actors. Using remote and providing a fully qualified address, the actor system knows where to create the actors.
Read now
Unlock full access