is it ever ok to dispatch a child actor directly or must all messages be passed from the root actor down in Akka?
问题 While working on the Akka tutorial, I was wondering in a scenario where I have the ActorSystem reference live in the application, I can dispatch messages directly to a child actor like /user/a in the diagram below or must all messages that need to go to that child be passed down from /user and from / to /user . I ask because in the tutorial, the IotSupervisor extends AbstractBehavior<Void> and I imagine that that would need to be changed to extending AbstractBehavior<DeviceManager.Command> .