Spring Cloud로 개발하는 마이크로 서비스를 듣고 실습한 내용입니다.
- Java11
- SpringBoot
- SpringCloud
- Postman
- Eureka
- zuul
discoveryservice - Service discovery
apigateway-service - Spring Cloud Gateway
zuul-service - Spring Cloud Netflix Zuul
first-service - example for apigateway service
second-service - example for apigateway service
- first-service, second-service, api-gateway를 eureka 서버에 등록
- gateway를 통해 first/second 서비스에 접근
- 복수의 service를 등록하여 eureka가 load balancing
GET localhost:8000/first-service/check
random port설정을 해놓은 first service는 여러개가 띄워져 있을때 eureka가 자동으로 로드밸런싱 하여 서버 매핑해줌.

