https://github.com/iamteppei/aws-sqs
Study AWS SQS project
https://github.com/iamteppei/aws-sqs
docker jib localstack sqs-queue
Last synced: 18 days ago
JSON representation
Study AWS SQS project
- Host: GitHub
- URL: https://github.com/iamteppei/aws-sqs
- Owner: iamteppei
- Created: 2018-08-27T12:03:20.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-04T08:10:21.000Z (almost 8 years ago)
- Last Synced: 2026-05-23T11:39:54.103Z (20 days ago)
- Topics: docker, jib, localstack, sqs-queue
- Language: Kotlin
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AWS SQS
Study project on AWS SQS
Technologies
* Kotlin
* AWS SQS
* LocalStack
* Google Jib (docker)
# Getting started
## Install AWS cli (Mac)
```bash
pip3 install awscli --upgrade --user
```
## Start LocalStack
```bash
docker-compose up -d
```
* Link to [Dashboard](http://localhost:8080)
* [SQS at http://localhost:4576](http://localhost:4576)
## Create SQS Queue
```bash
aws --endpoint-url=http://localhost:4576 sqs create-queue --queue-name helloQueue
```
## Reference
* [SQS Basic Architecture](https://github.com/awsdocs/amazon-sqs-developer-guide/blob/master/doc_source/sqs-basic-architecture.md)
# Local testing
* Send message
```bash
curl -X POST http://localhost:9090/foo -d '{"message":"Hello world"}' -H "Content-Type: application/json"
```
# Local docker build
```bash
./gradlew clean jibDockerBuild
```
This will build docker image in your local machine