我已经将它包含在我的 application.conf 中,但它不起作用:
akka {
actor {
provider = "akka.remote.RemoteActorRefProvider"
deployment {
/messageSender {
router = "round-robin"
nr-of-instances = 10
target {
nodes = "akka://System@127.0.0.1:5555"
}
}
}
}
remote {
transport = "akka.remote.netty.NettyRemoteTransport"
}
}