Simple WebFlux microservice orchestration with load balancer and gateway example.
Follow steps in order:
- Package
example-webflux-ms-lib
module and then, - Run
example-webflux-ms-eureka-server
module, - Run
example-webflux-ms-gateway
module, - Run
example-webflux-ms-product-details-service
module and, - Run
example-webflux-ms-product-service
module.
Through gateway API:
- http://localhost:8080/public
- http://localhost:8080/product
- http://localhost:8080/product/{id}
- http://localhost:8080/product-details
- http://localhost:8080/product-details/{id}
Direct API:
- http://localhost:8091/public
- http://localhost:8091/product
- http://localhost:8091/product/{id}
- http://localhost:8092/product-details
- http://localhost:8092/product-details/{id}
JDK 17
or higher