Part 2 - Event Sourcing and Cart Entity

Hugh McKee, Developer Advocate at Lightbend, Inc.

Watch Akka Workshop Series

Part 1 Part 2 Part 3 Part 4 Part 5

Welcome to Part 2 of our five-part workshop series providing a guided, expert tour of implementing microservices with Akka Cloud Platform, Kubernetes, and Amazon Web Services or Google Cloud Platform. In this part, we dive into event sourcing concepts and create an event-driven cart entity, followed by testing and DB configuration, and finishing with what we accomplished today.

Helpful resources:

  1. Akka Platform Guide section: Part 2 - Event Sourcing and Cart Entity:

  2. Watch: Hugh presents other Akka Platform examples in this two-part video demo:

Go to other parts of this series:

About The Workshop Series

This 5-part workshop series provides a guided, expert tour of implementing microservices with Akka Cloud Platform and Kubernetes.

From code and concepts to deployment, this series enables Java and Scala developers to rapidly create a functioning proof-of-concept: a microservices-based, cloud native Reactive Shopping Cart application on Kubernetes. From there, deploying to a cloud provider of your choice—namely with Akka Cloud Platform on the AWS Marketplace—is just a few keystrokes away.

This workshop series will focus on:

  • Guided walkthrough of the Akka Platform Guide's “Reactive Shopping Cart” microservices tutorial, starting from scratch.
  • Explore the code and technologies within the sample application, and the Reactive Principles and Patterns behind it all.
  • Deploy and deliver a cutting edge, cloud native microservices proof of concept that you can share with your colleagues and management team.


  1. Visit the Akka Platform Guide development setup instructions to get prepared.
  2. Technologies required are Java 8+, favorite IDE, Maven, grpcurl, and Docker (plus Amazon Web Services account access for Part 5).