Skip to content

Instantly share code, notes, and snippets.

View RezaBidar's full-sized avatar
🎯
Focusing

reza RezaBidar

🎯
Focusing
View GitHub Profile
@jboner
jboner / OrderManagement.scala
Created November 10, 2017 09:08
Demo of an Event-driven Architecture in Akka and Scala. Show-casing Events-first DDD, Event Sourced Aggregates, Process Manager, etc.
package sample.eventdriven.scala
import akka.actor.{Actor, ActorRef, ActorSystem, Inbox, Props}
import akka.persistence.PersistentActor
import scala.concurrent.ExecutionContext.Implicits._
import scala.concurrent.duration._
// ===============================================================
// Demo of an Event-driven Architecture in Akka and Scala.