Hello,
As mentioned in the document, group router could support full remote path of remote actors.
The paths may contain protocol and address information for actors running on remote hosts. Remoting requires the akka-remote module to be included in the classpath.
akka.actor.deployment {
/parent/remoteGroup {
router = round-robin-group
routees.paths = [
"akka.tcp://app@10.0.0.1:2552/user/workers/w1",
"akka.tcp://app@10.0.0.2:2552/user/workers/w1",
"akka.tcp://app@10.0.0.3:2552/user/workers/w1"]
}
}
But when I changed the path to the remote path, it throws
Exception in thread "main" java.lang.IllegalArgumentException: routeesPaths [akka.tcp://ClusterSystem@127.0.0.1:2551/user/statsWorker] is not a valid actor path without address information
error.
PS: akka-remote
module has already been included.
You can using the sample project https://github.com/akka/akka-samples/tree/2.5/akka-sample-cluster-java and change the src\main\resources\stats1.conf
file to reproduce this issue.