AWS Lambda function subscribed to an Amazon MSK topic using IAM auth (Go)
Amazon MSK → AWS Lambda
Creates a Lambda function that uses an Amazon MSK topic as an event source with IAM authentication.
This pattern provides a Lambda function along with an Event Source Mapping to a Kafka topic.
It requires that you already have an Amazon Managed Streaming for Kafka (Amazon MSK) cluster setup with a topic created.
If you don't already have an MSK cluster, you can use the example in this pattern https://serverlessland.com/patterns/msk-cfn-sasl-lambda (linked in the resources) to deploy a cluster.
This pattern works with either a Provisioned or Serverless MSK cluster as long as the cluster is configured to use IAM authentication.
For detailed deployment instructions instructions see the README.