Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuriytkach/stream-42-demo-app-sns-sqs
Demo application for online YouTube stream #42 about SNS and SQS
https://github.com/yuriytkach/stream-42-demo-app-sns-sqs
aws demo-app docker java localstack sns spring-boot spring-cloud-aws sqs youtube-stream
Last synced: about 1 month ago
JSON representation
Demo application for online YouTube stream #42 about SNS and SQS
- Host: GitHub
- URL: https://github.com/yuriytkach/stream-42-demo-app-sns-sqs
- Owner: yuriytkach
- Created: 2023-08-10T11:33:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-10T11:33:26.000Z (over 1 year ago)
- Last Synced: 2024-04-20T00:42:03.828Z (9 months ago)
- Topics: aws, demo-app, docker, java, localstack, sns, spring-boot, spring-cloud-aws, sqs, youtube-stream
- Language: Java
- Homepage:
- Size: 66.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo Project for Online Stream #42 - SNS and SQS
Demo project for online YouTube stream #42 about using SNS and SQS## Access to Online Stream on YouTube
To get a link to online stream on YouTube please do the following:
- :moneybag: Make any donation to support my volunteering initiative to help Ukrainian Armed Forces by means described on [my website](https://www.yuriytkach.com/volunteer)
- :email: Write me an [email](mailto:[email protected]) indicating donation amount and time
- :tv: I will reply with the link to the stream on YouTube.Thank you in advance for your support! Слава Україні! :ukraine:
## Run the App
First start the localstack container using docker-compose:
```shell
docker-compose up
```The topic and queues that are created with container start are defined in `scripts/localstack_bootstrap.sh`
Then start the app:
```shell
./gradlew bootRun
```Now you can submit events to controller and observe the logs:
```shell
curl -X POST localhost:8080/event -H 'Content-Type: application/json' -d '{"id": 1, "name": "Event"}'
```## Reference Documentation
For further reference, please consider the following sections:* [Spring Cloud AWS](https://spring.io/projects/spring-cloud-aws)
* [Spring Web](https://docs.spring.io/spring-boot/docs/3.1.2/reference/htmlsinge/index.html#web)### Guides
The following guides illustrate how to use some features concretely:* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/)
* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/)
* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/)