Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.4 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.4 KB

Akka Kotlin

Akka is a toolkit and runtime for building highly concurrent, distributed, and fault-tolerant event-driven applications on the JVM.

Actors are the unit of execution in Akka. The Actor model is an abstraction that makes it easier to write correct concurrent, parallel and distributed systems. The Hello World example illustrates Akka basics.

akka-quickstart-kotlin

Disclaimer: This kotlin project is based on the akka-quickstart-java example project made available by Lightbend.

Running the application

Run this application with Maven:

$ mvn compile exec:exec

Experiments

Under com.fpenim.experiments you will find a number of experiments that aim to highlight the actor architecture. Each one of them has its own main function and should be run individually.

These examples are based on the ones found in this guide.

  • Hierarchy - understand what the actor hierarchy looks like
  • StartStop - understand the actor life cycle
  • Supervision - understand the supervisor strategy

akka-iot

Disclaimer: This kotlin project is based on the akka iot example project made available by Lightbend.

TBC