|
| 1 | +{ |
| 2 | + "title": "AWS Lambda function subscribed to an Amazon MSK topic using IAM auth", |
| 3 | + "description": "Creates a Lambda function that uses an Amazon MSK topic as an event source with IAM authentication.", |
| 4 | + "language": "Java", |
| 5 | + "level": "200", |
| 6 | + "framework": "SAM", |
| 7 | + "introBox": { |
| 8 | + "headline": "How it works", |
| 9 | + "text": [ |
| 10 | + "This pattern provides a Lambda function along with an Event Source Mapping to a Kafka topic.", |
| 11 | + "It requires that you already have an Amazon Managed Streaming for Kafka (Amazon MSK) cluster setup with a topic created. ", |
| 12 | + "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.", |
| 13 | + "This pattern works with either a Provisioned or Serverless MSK cluster as long as the cluster is configured to use IAM authentication. ", |
| 14 | + "For detailed deployment instructions instructions see the README." |
| 15 | + ] |
| 16 | + }, |
| 17 | + "gitHub": { |
| 18 | + "template": { |
| 19 | + "repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/msk-lambda-iam-java-sam", |
| 20 | + "templateURL": "serverless-patterns/msk-lambda-iam-java-sam", |
| 21 | + "projectFolder": "msk-lambda-iam-java-sam", |
| 22 | + "templateFile": "template.yaml" |
| 23 | + } |
| 24 | + }, |
| 25 | + "resources": { |
| 26 | + "bullets": [ |
| 27 | + { |
| 28 | + "text": "Amazon MSK cluster pattern", |
| 29 | + "link": "https://serverlessland.com/patterns/msk-cfn-sasl-lambda" |
| 30 | + }, |
| 31 | + { |
| 32 | + "text": "Using AWS Lambda with Amazon MSK", |
| 33 | + "link": "https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html" |
| 34 | + }, |
| 35 | + { |
| 36 | + "text": "AWS CloudFormation Provisioned MSK cluster reference", |
| 37 | + "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html" |
| 38 | + }, |
| 39 | + { |
| 40 | + "text": "AWS CloudFormation Serverless MSK cluster reference", |
| 41 | + "link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html" |
| 42 | + } |
| 43 | + ] |
| 44 | + }, |
| 45 | + "deploy": { |
| 46 | + "text": [ |
| 47 | + "sam deploy --guided" |
| 48 | + ] |
| 49 | + }, |
| 50 | + "testing": { |
| 51 | + "text": [ |
| 52 | + "See the GitHub repo for detailed testing instructions." |
| 53 | + ] |
| 54 | + }, |
| 55 | + "cleanup": { |
| 56 | + "text": [ |
| 57 | + "Delete the template: <code>sam delete</code>." |
| 58 | + ] |
| 59 | + }, |
| 60 | + "authors": [ |
| 61 | + { |
| 62 | + "name": "Indranil Banerjee", |
| 63 | + "bio": "AWS - Senior Solutions Architect", |
| 64 | + "image": "https://beta.serverlessland.com/assets/images/resources/contributors/indranil-banerjee.jpg", |
| 65 | + "linkedin": "indranil-banerjee-b00a261/" |
| 66 | + }, |
| 67 | + { |
| 68 | + "name": "Vaibhav Jain", |
| 69 | + "bio": "AWS - Sr. Application Architect", |
| 70 | + "image": "https://beta.serverlessland.com/assets/images/resources/contributors/vaibhav-jain.jpg", |
| 71 | + "linkedin": "vaibhavjainv/" |
| 72 | + }, |
| 73 | + { |
| 74 | + "name": "Paveen Allam", |
| 75 | + "bio": "Senior Solutions Architect", |
| 76 | + "image": "https://www.fintail.me/images/pa.jpg", |
| 77 | + "linkedin": "pallam/" |
| 78 | + }, |
| 79 | + { |
| 80 | + "name": "Suraj Tripathi", |
| 81 | + "bio": "AWS - AppDev Cloud Consultant", |
| 82 | + "image": "https://beta.serverlessland.com/assets/images/resources/contributors/suraj-tripathi.jpg", |
| 83 | + "linkedin": "suraj-tripathi-01b49a140/" |
| 84 | + }, |
| 85 | + { |
| 86 | + "name": "Adam Wagner", |
| 87 | + "bio": "AWS - Principal Serverless Solutions Architect", |
| 88 | + "image": "https://beta.serverlessland.com/assets/images/resources/contributors/adam-wagner.jpg", |
| 89 | + "linkedin": "adam-wagner-4bb412/" |
| 90 | + } |
| 91 | + ], |
| 92 | + "patternArch": { |
| 93 | + "icon1": { |
| 94 | + "x": 20, |
| 95 | + "y": 50, |
| 96 | + "service": "msk", |
| 97 | + "label": "Amazon MSK" |
| 98 | + }, |
| 99 | + "icon2": { |
| 100 | + "x": 80, |
| 101 | + "y": 50, |
| 102 | + "service": "lambda", |
| 103 | + "label": "AWS Lambda" |
| 104 | + }, |
| 105 | + "line1": { |
| 106 | + "from": "icon1", |
| 107 | + "to": "icon2", |
| 108 | + "label": "IAM Authentication" |
| 109 | + } |
| 110 | + } |
| 111 | +} |
0 commit comments