WORKSHOP SERIES | ON-DEMAND

Part 4 - CQRS and Projections for Kafka and gRPC

Hugh McKee, Developer Advocate at Lightbend, Inc.

Watch Akka Workshop Series

Part 1 Part 2 Part 3 Part 4 Part 5

Welcome to Part 4 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 review the role of a message broker like Kafka, implement projections with Kafka and gRPC, and discuss important concepts for managing distributed events. We even get to see a quick look at resilience in action with Akka, asynchronous messaging, and eventual consistency as we deal with a Kafka outage. We'll see how the pending messages get delivered once we resolved this unexpected issue.

Helpful resources:

  1. Akka Platform Guide section: Part 4 - CQRS and Projections for Kafka and gRPC:
    https://developer.lightbend.com/docs/akka-platform-guide/microservices-tutorial/projection-kafka.html

  2. Webinar Recording: Digital Transformation from Monoliths to Microservices to Serverless (and Beyond):
    https://www.lightbend.com/blog/digital-transformation-from-monoliths-to-microservices-to-serverless-and-beyond

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.

Prerequisites:

  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).