These are chat archives for petabridge/akka-bootcamp
.Tell(), are they "magic strings"?
ll just use the day to spend some time with the kids going to the zoo or something like that and then go to work and do the course. i dont really want to wait too long. and besides. even if they accommodate me it just means they have to get up that much earlier. and i rather have instructors that are awake ;)
using PropsSynonym = Akka.Actor.Props;
actorSystem.ActorOf(or when inside an actor,
m outside the actor system. i dont need the system to access it from within an actor. i get that. i need it to have it create/receive IActorRefs when i`m outside of it.
ActorSystemas parameter, as long as you maintain it in correct scope and remember to initialize it/shutdown correctly.
I am in Unit 1 lesson 5 of the BootCamp and I am having troubles with the explanation of why removing the dependency of the consoleWriterActor passed to FileValidatorActor is counter-intutive.
In the explanation it talks about how we aren't using the handle for consoleWriterActor directly. Instead we are putting that IActorRef inside a message that is getting sent somewhere else.
It seems to me that consoleWriterActor is being used directly and I don't see where it is being passed in a message???
Can anyone please enlighten me so that I can understand this concept?
_consoleWriterActorgets put into a
TailCoordinatorActorwhen it takes the
ReporterActorproperty of the
StartTailmessage (line 45 of TailCoordinatorActor.cs)
TailCoordinatorActor) gets a message, and inside that message is all the information it needs to do what it needs to do
_consoleWriterActorhandle it gets, overall the system is looser (not so much here, but the pattern holds when the system grows)
TailActor, which needs it in its ctor