The following example projects can be downloaded. They contain build files and have instructions of how to run.
The Quickstart guide walks you through example code that introduces how to define actor systems, actors, and messages as well as how to use the test module and logging.
This project contains a Dining Hakkers sample illustrating how to model a Finite State Machine (FSM) with actors.
This project contains samples illustrating different Cluster features, such as subscribing to cluster membership events, and sending messages to actors running on nodes in the cluster with Cluster aware routers.
It also includes Multi JVM Testing with the
This project contains several samples illustrating how to use Distributed Data.
This project contains a KillrWeather sample illustrating how to use Cluster Sharding.
This project contains a Shopping Cart sample illustrating how to use Akka Persistence.
This project contains a Shopping Cart sample illustrating how to use Akka Persistence. The events are tagged to be consumed by even processors to build other representations from the events, or publish the events to other services.
Illustrates how to use Replicated Event Sourcing that supports active-active persistent entities across data centers.
Illustrates how to use Akka Cluster with Docker compose.
This sample illustrates how to form an Akka Cluster with Akka Bootstrap when running in Kubernetes.
This project demonstrates the work pulling pattern using Akka Cluster.
This project demonstrates how to use the External Shard Allocation strategy to co-locate the consumption of Kafka partitions with the shard that processes the messages.