This repository is a demo of some reactive features integrated in Quarkus.
Associated slides are available on https://bit.ly/quarkus-reactive-ahoy-tt.
The demo is composed by:
- a PostGreSQL database pre-populated with pirates
- a Quarkus application containing a gRPC service (implementation and client), a Hibernate Reactive with Panache entity, a Spring controller, a JAX-RS resource, some reactive routes...
You need four terminals to run the application and at least one other terminal for the HTTP interactions.
From the root directory, run:
docker-compose up -d
mvn quarkus:dev
HTTP API exposed on port 8080:
http :8080/ahoy
-> regular hellohttp :8080/pirate
-> Uni responsehttp :8080/stream
-> SSE responsehttp :8080/spring/ahoy
-> Spring hellohttp :8080/aye
-> Route registered on the routerhttp :8080/rr/carouser
-> Reactive Routeshttp :8080/rr/chantey
-> Reactive Routes returning Unihttp :8080/rr/chanteys
-> Reactive Routes returning Multi
HTTP API exposed on port 8082:
http :8082
-> Vert.x server