[{"data":1,"prerenderedAt":72},["ShallowReactive",2],{"pattern-msk-lambda-iam-go-sam":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":16,"description":19,"extension":20,"framework":21,"gitHub":22,"highlight":6,"introBox":28,"language":36,"level":37,"meta":38,"patternArch":39,"resources":53,"s3URL":6,"services":6,"stem":67,"testing":68,"videoId":6,"__hash__":71},"patterns\u002Fpatterns\u002Fmsk-lambda-iam-go-sam.json","AWS Lambda function subscribed to an Amazon MSK topic using IAM auth (Go)",null,{"text":8},[9],"Delete the template: \u003Ccode>sam delete\u003C\u002Fcode>.",[11,12,13,14,15],"content\u002Fcontributors\u002Fvaibhav-jain.json","content\u002Fcontributors\u002Fpaveen-allam.json","content\u002Fcontributors\u002Fsuraj-tripathi.json","content\u002Fcontributors\u002Fadam-wagner.json","content\u002Fcontributors\u002Findranil-banerjee.json",{"text":17},[18],"sam deploy --guided","Creates a Lambda function that uses an Amazon MSK topic as an event source with IAM authentication.","json","AWS SAM",{"template":23},{"repoURL":24,"templateURL":25,"projectFolder":26,"templateFile":27},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Fmsk-lambda-iam-go-sam","serverless-patterns\u002Fmsk-lambda-iam-go-sam","msk-lambda-iam-go-sam","template.yaml",{"headline":29,"text":30},"How it works",[31,32,33,34,35],"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:\u002F\u002Fserverlessland.com\u002Fpatterns\u002Fmsk-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.","Go","200",{},{"icon1":40,"icon2":45,"line1":49},{"x":41,"y":42,"service":43,"label":44},20,50,"msk","Amazon MSK",{"x":46,"y":42,"service":47,"label":48},80,"lambda","AWS Lambda",{"from":50,"to":51,"label":52},"icon1","icon2","IAM authentication",{"bullets":54},[55,58,61,64],{"text":56,"link":57},"Amazon MSK cluster pattern","https:\u002F\u002Fserverlessland.com\u002Fpatterns\u002Fmsk-cfn-sasl-lambda",{"text":59,"link":60},"Using AWS Lambda with Amazon MSK","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fwith-msk.html",{"text":62,"link":63},"AWS CloudFormation Provisioned MSK cluster reference","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002Faws-resource-msk-cluster.html",{"text":65,"link":66},"AWS CloudFormation Serverless MSK cluster reference","https:\u002F\u002Fdocs.aws.amazon.com\u002FAWSCloudFormation\u002Flatest\u002FUserGuide\u002Faws-resource-msk-serverlesscluster.html","patterns\u002Fmsk-lambda-iam-go-sam",{"text":69},[70],"See the GitHub repo for detailed testing instructions.","G4KDm-T3Hwnlf_jNlHudHgLlL-OAOjb1GjxhxqFAQCE",1778846886893]