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:
-
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 -
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:
- Part 1 - Developer Set Up and gRPC Cart Service
- Part 2 - Event Sourcing and Cart Entity
- Part 3 - CQRS and Projections for Queries
- Part 4 - CQRS and Projections for Kafka and gRPC
- Part 5 - Cloud Deployment with Kubernetes and AWS
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:
- Visit the Akka Platform Guide development setup instructions to get prepared.
- Technologies required are Java 8+, favorite IDE, Maven, grpcurl, and Docker (plus Amazon Web Services account access for Part 5).