How do I create actors in Akka?

Learn how to create an actor, send and receive messages, and configure a login with HOCON in Akka.

By Daniel Hinojosa
March 1, 2017
Screen from "How do I create actors in Akka?" Screen from "How do I create actors in Akka?" (source: O'Reilly)

In this video, Daniel Hinojosa demonstrates how to extend the akka.actor.Actor class to create an actor. Then Daniel constructs a simple receive method to accept messages sent by other actors and outlines the basic process of setting up a single actor, an actor system, and a Props. Novice Scala developers also will learn how to configure a login using HOCON.

Access in-depth Scala training with our Scala Fundamentals Learning Path.

Learn faster. Dig deeper. See farther.

Join the O'Reilly online learning platform. Get a free trial today and find answers on the fly, or master something new and useful.

Learn more

Daniel Hinojosa is a programmer, consultant, instructor, speaker, and author with morethan 20 years of experience working with private, educational, and government institutions. Daniel loves JVM languages like Java, Groovy, and Scala, but also dabbles in Haskell, Ruby, Python, LISP, C and C++. With the goal of learning a new programming language every year, Daniel is eager to help other programmers work toward becoming polyglots themselves.

Post topics: Software Engineering
Post tags: Questions
Share: