Skip to content

Commit 1d2de94

Browse files
committed
docs(typescript/amazon-mq-rabbitmq-lambda): Update README.md and fix code comments
1 parent 9749099 commit 1d2de94

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

typescript/amazon-mq-rabbitmq-lambda/README.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Amazon MQ RabbitMQ Integration with Lambda, Secrets Manager, and CloudWatch Logs
22
<!--BEGIN STABILITY BANNER-->
33
---
4-
![Stability: Experimental](https://img.shields.io/badge/stability-Experimental-important.svg?style=for-the-badge)
4+
5+
![Stability: Developer Preview](https://img.shields.io/badge/stability-Developer--Preview-important.svg?style=for-the-badge)
56

67
> **This is an experimental example. It may not build out of the box**
78
>
8-
> This examples is built on Construct Libraries marked "Experimental" and may not be updated for latest breaking changes.
9+
> This example is built on Construct Libraries marked "Developer Preview" and may not be updated for latest breaking changes.
910
>
10-
> It additionally requires infrastructure prerequisites that must be created before successful build.
11+
> It may additionally requires infrastructure prerequisites that must be created before successful build.
1112
>
1213
> If build is unsuccessful, please create an [issue](https://github.com/aws-samples/aws-cdk-examples/issues/new) so that we may debug the problem
13-
1414
---
1515
<!--END STABILITY BANNER-->
1616
This example demonstrates how to set up an Amazon MQ RabbitMQ cluster, integrate it with AWS Lambda for message processing,
@@ -46,6 +46,11 @@ This script connects to the RabbitMQ broker using the provided credentials and p
4646
After running the producer.py script, you can check the CloudWatch Log Group for your Lambda function to see the output from [consumer.js](lambda/consumer.js).
4747
The [consumer.js](lambda/consumer.js) file includes an example output that shows the details of the received messages, including their Base64-encoded data.
4848

49+
Additionally, you can check the RabbitMQ management console to see the three messages that were published by producer.py
50+
and consumed by the Lambda function, similar to the picture below.
51+
52+
![Queued Messages](images/queued-messages.png)
53+
4954
## Stack Components
5055

5156
![Component Diagram](/images/amazon-mq-rabbitmq-lambda-diagram.png)
@@ -70,6 +75,9 @@ To avoid incurring future charges, remember to destroy the resources:
7075
cdk destroy
7176
```
7277

78+
## Future Enhancements and Exploration Opportunities
79+
![Future Enhancements and Exploration Opportunities](images/Future-Enhancements-and-Exploration-Opportunities.png)
80+
7381
## Further Reading
7482

7583
- [Amazon MQ Documentation](https://docs.aws.amazon.com/amazon-mq/)
109 KB
Loading
-3.96 KB
Loading
63.4 KB
Loading

typescript/amazon-mq-rabbitmq-lambda/lib/amazon-mq-rabbitmq-lambda-stack.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export class AmazonMqRabbitmqLambdaStack extends Stack {
5858
logGroup: consumerLambdaLogGroup, // Attach the custom CloudWatch log group
5959
});
6060

61-
// Prevent the default log group creation
6261
consumer_lambda.logGroup.applyRemovalPolicy(RemovalPolicy.DESTROY);
6362

6463
// Add RabbitMQ as an event source for the Lambda function to consume messages from 'testQueue'

0 commit comments

Comments
 (0)