-
Notifications
You must be signed in to change notification settings - Fork 946
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
{ | ||
"title": "AWS Lambda function subscribed to an Amazon MSK topic using IAM auth", | ||
"description": "Creates a Lambda function that uses an Amazon MSK topic as an event source with IAM authentication.", | ||
"language": "Java", | ||
"level": "200", | ||
"framework": "SAM", | ||
"introBox": { | ||
"headline": "How it works", | ||
"text": [ | ||
"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." | ||
] | ||
}, | ||
"gitHub": { | ||
"template": { | ||
"repoURL": "https://github.com/aws-samples/serverless-patterns/tree/main/msk-lambda-iam-java-sam", | ||
"templateURL": "serverless-patterns/msk-lambda-iam-java-sam", | ||
"projectFolder": "msk-lambda-iam-java-sam", | ||
"templateFile": "template.yaml" | ||
} | ||
}, | ||
"resources": { | ||
"bullets": [ | ||
{ | ||
"text": "Amazon MSK cluster pattern", | ||
"link": "https://serverlessland.com/patterns/msk-cfn-sasl-lambda" | ||
}, | ||
{ | ||
"text": "Using AWS Lambda with Amazon MSK", | ||
"link": "https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html" | ||
}, | ||
{ | ||
"text": "AWS CloudFormation Provisioned MSK cluster reference", | ||
"link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html" | ||
}, | ||
{ | ||
"text": "AWS CloudFormation Serverless MSK cluster reference", | ||
"link": "https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-serverlesscluster.html" | ||
} | ||
] | ||
}, | ||
"deploy": { | ||
"text": [ | ||
"sam deploy --guided" | ||
] | ||
}, | ||
"testing": { | ||
"text": [ | ||
"See the GitHub repo for detailed testing instructions." | ||
] | ||
}, | ||
"cleanup": { | ||
"text": [ | ||
"Delete the template: <code>sam delete</code>." | ||
] | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "Indranil Banerjee", | ||
"bio": "AWS - Senior Solutions Architect", | ||
"image": "https://beta.serverlessland.com/assets/images/resources/contributors/indranil-banerjee.jpg", | ||
"linkedin": "indranil-banerjee-b00a261/" | ||
}, | ||
{ | ||
"name": "Vaibhav Jain", | ||
"bio": "AWS - Sr. Application Architect", | ||
"image": "https://beta.serverlessland.com/assets/images/resources/contributors/vaibhav-jain.jpg", | ||
"linkedin": "vaibhavjainv/" | ||
}, | ||
{ | ||
"name": "Paveen Allam", | ||
"bio": "Senior Solutions Architect", | ||
"image": "https://www.fintail.me/images/pa.jpg", | ||
"linkedin": "pallam/" | ||
}, | ||
{ | ||
"name": "Suraj Tripathi", | ||
"bio": "AWS - AppDev Cloud Consultant", | ||
"image": "https://beta.serverlessland.com/assets/images/resources/contributors/suraj-tripathi.jpg", | ||
"linkedin": "suraj-tripathi-01b49a140/" | ||
}, | ||
{ | ||
"name": "Adam Wagner", | ||
"bio": "AWS - Principal Serverless Solutions Architect", | ||
"image": "https://beta.serverlessland.com/assets/images/resources/contributors/adam-wagner.jpg", | ||
"linkedin": "adam-wagner-4bb412/" | ||
} | ||
], | ||
"patternArch": { | ||
"icon1": { | ||
"x": 20, | ||
"y": 50, | ||
"service": "msk", | ||
"label": "Amazon MSK" | ||
}, | ||
"icon2": { | ||
"x": 80, | ||
"y": 50, | ||
"service": "lambda", | ||
"label": "AWS Lambda" | ||
}, | ||
"line1": { | ||
"from": "icon1", | ||
"to": "icon2", | ||
"label": "IAM Authentication" | ||
} | ||
} | ||
} |