These are chat archives for petabridge/akka-bootcamp

15th
Jan 2016
JimSEOW
@JimSEOW
Jan 15 2016 18:10
Lesson 2.1: Passing Akka.configuration HOCON in program.cs instead of App.config
Why this is not working (defining HOCON in program.cs)?
static void Main()
        {
            var config = ConfigurationFactory.ParseString(@"
                akka.actor.deployment {
                      /charting {
                            dispatcher = akka.actor.synchronized-dispatcher
                      }
                }");

            var system = ActorSystem.Create("MyActorSystem", config);
            //var system = ActorSystem.Create("MyActorSystem"); //Original

            ChartActors = ActorSystem.Create("ChartActors");
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Main());
        }
Marc Piechura
@marcpiechura
Jan 15 2016 18:35
@Davtomas I think /charting needs to be /ChartActor
ChartActors
And you probably want to create an actor right?^^ ActorSystem.Create("ChartActors") creates another ActorSystem. You need system.ActorOf to create an actor
http://getakka.net/docs/working-with-actors/Dispatchers also contains the different ways of setting a dispatcher
Aaron Stannard
@Aaronontheweb
Jan 15 2016 23:07
@/all next Akka.NET Virtual Meetup will be on January 26th at 10:00am PST - https://plus.google.com/u/0/b/102500449679363367469/events/c1v7uj0apjj0qrtbuo7cb6ggcok - sign up here if you want to get a reminder. If you aren't able to attend it live, it will be recorded and posted here on YouTube afterwards: https://www.youtube.com/watch?v=G3ZafPNI-hk