A previous blog post covered how to deploy a Go Lambda function and trigger it in response to events sent to a topic in a MSK Serverless cluster.
This blog will take it a notch further.
- The solution consists of a MSK Serverless cluster, a producer application on AWS App Runner and a consumer application in Kubernetes (EKS) persisting data to DynamoDB.
- The core components (MSK cluster, EKS and DynamoDB) and the producer application will be provisioned using Infrastructure-as-code with AWS CDK.
- Since the consumer application on EKS will interact with both MSK and
DynamoDB
, you will also need to configure appropriate IAM roles.
All the components in this solution have been written in Go.
[Read More]