This project is a demo project which demonstrates how to use AWS SNS and AWS SQS for integration of services.
An AWS CDK app which creates the AWS SNS topic for the producer and the AWS SQS queue for the consumer.
-
Configure your
.aws/config
and.aws/credentials
. For more information. see. -
Fill the values in the
.env
file -
Run the command below in the infrastructure directory
bash .sh deploy
The producer app demostrates a message publisher for an AWS SNS topic.
-
Configure your
.aws/config
and.aws/credentials
. For more information. see. -
Fill the values in the
.env
file -
Run the command below in the infrastructure directory to deploy the AWS SNS topic
bash .sh deploy
- Run the command below in the producer directory
bash .sh build run
The consumer app demostrates a message consumer from an AWS SQS queue.
-
Configure your
.aws/config
and.aws/credentials
. For more information. see. -
Fill the values in the
.env
file -
Run the command below in the infrastructure directory to deploy the AWS SQS queue
bash .sh deploy
- Run the command below in the consumer directory
bash .sh build run