You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
595 B
Markdown
30 lines
595 B
Markdown
# AWS SQS for local development
|
|
|
|
[Reference](https://razersw.atlassian.net/wiki/spaces/RZP/pages/1084129351/Implementation+of+Wallet+CI+CD+Pipeline)
|
|
|
|
```sh
|
|
$ docker-compose up -d
|
|
|
|
// remove container
|
|
$ docker-compose down
|
|
```
|
|
|
|
|
|
|
|
send message
|
|
|
|
```sh
|
|
$ aws --endpoint-url http://localhost:9324 sqs send-message --queue-url http://localhost:9324/queue/default --message-body "Hello, queue!"
|
|
```
|
|
|
|
|
|
|
|
receive message
|
|
|
|
```sh
|
|
$ aws --endpoint-url http://localhost:9324 sqs receive-message --queue-url http://localhost:9324/queue/default --wait-time-seconds 10
|
|
```
|
|
|
|
[SQS Insight](http://localhost:9325)
|
|
|