Skip to content

Commit ffd3795

Browse files
authored
Merge pull request #2590 from indranil-banerjee-aws/main
Fixed msk-lambda-iam-java-sam.json file. Removed reference to non-fun…
2 parents 0e787c9 + fa51ccc commit ffd3795

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

msk-lambda-iam-java-sam/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ The sam deploy command will package and deploy your application to AWS, with a s
155155
* **SAM configuration environment [default]**: Environment for storing deployment information locally
156156

157157
You should get a message "Successfully created/updated stack - <StackName> in <Region>" if all goes well
158+
159+
**Note: In case you want to deploy the Lambda function by pointing to an existing MSK Cluster and not the one created by running the CloudFormation template provided in this pattern, you will need to modify the values of the parameters MSKClusterName and MSKClusterId accordingly**
158160

159161

160162
## Test the sample application

msk-lambda-iam-java-sam/example-pattern.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"headline": "How it works",
99
"text": [
1010
"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.",
11+
"The Lambda function requires that you already have an Amazon Managed Streaming for Kafka (Amazon MSK) cluster setup with a Kafka topic created. ",
12+
"In this pattern, an AWS CloudFormation template is provided, that installs an Amazon MSK cluster and also creates a Kafka topic.",
1313
"This pattern works with either a Provisioned or Serverless MSK cluster as long as the cluster is configured to use IAM authentication. ",
1414
"For detailed deployment instructions instructions see the README."
1515
]
@@ -24,10 +24,6 @@
2424
},
2525
"resources": {
2626
"bullets": [
27-
{
28-
"text": "Amazon MSK cluster pattern",
29-
"link": "https://serverlessland.com/patterns/msk-cfn-sasl-lambda"
30-
},
3127
{
3228
"text": "Using AWS Lambda with Amazon MSK",
3329
"link": "https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"

msk-lambda-iam-java-sam/msk-lambda-iam-java-sam.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
"headline": "How it works",
99
"text": [
1010
"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.",
11+
"It provides a Cloudformation template that creates an Amazon Managed Streaming for Kafka (Amazon MSK) cluster.",
1312
"This pattern works with either a Provisioned or Serverless MSK cluster as long as the cluster is configured to use IAM authentication. ",
1413
"For detailed deployment instructions instructions see the README."
1514
]

0 commit comments

Comments
 (0)