Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/romalev/reactive-vertx-service
Simple POC of nonblocking REST service based on vertx along with mongodb.
https://github.com/romalev/reactive-vertx-service
circuit-breaker java-8 mongodb poc reactive rxjava2 spring spring-boot vertx vertx-web
Last synced: 26 days ago
JSON representation
Simple POC of nonblocking REST service based on vertx along with mongodb.
- Host: GitHub
- URL: https://github.com/romalev/reactive-vertx-service
- Owner: romalev
- Created: 2017-11-24T13:49:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-30T17:23:25.000Z (about 7 years ago)
- Last Synced: 2024-11-13T12:28:45.747Z (3 months ago)
- Topics: circuit-breaker, java-8, mongodb, poc, reactive, rxjava2, spring, spring-boot, vertx, vertx-web
- Language: Java
- Homepage:
- Size: 18.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fully reactive service #
This is a simple prototype of fully reactive (non-blocking) service which is built based on using vert.x, rxjava, spring boot, mongo db.
Notes:
* MongoDB 3.4 is used as a persistent storage for given service.
* Mongo client is based on the MongoDB Async Driver.
* Service is fully written on top of vert.x core + web and handles each incoming request in a reactive manner.
* Spring boot is responsible for deploying verticles and managing them.
* Don't event look at the UI code. I am not an UI guy so UI was sort of taken from one of the examples published on Vert.x portal.Application itself has a really simple concept. You, as the user, can **CRUD** entities.
To play with service itself perform the following steps:
1) Install MongoDB : https://www.mongodb.com/download-center?jmp=nav#community. MongoDB server by default runs on port 27017.
2) `mvn clean install`
3) `mvn spring-boot:run`
4) Hit the `http://localhost:9092/assets/index.html` and you will walk into the reactive world :)
P.S. Is there anyone interested with playing with that ? Feel free to fork it :)
There's some stuff I'd like to get done :
1) Integrate Swagger with Vert.x web.
2) Adding unit tests.