1. AMQP(Advanced Message Queuing Protocol) 사용을 위한 Config Server, api-gateway 및 microservice dependency 추가
1-1. Config Server
1-2. api-gateway 및 microservice (actuator은 기 설정)
2. application.yml에 rabbitmq 사용 설정 및 actuator busrefresh 추가
3. eureka, rabbitMQ, config, api-gateway, micro service 모두 기동
* config server 기동 시 No such label: main 오류 메시지는 config서버의 git repository에서 찾는 branch라 master인 경우 main으로 브랜치 변경을 하면 해소된다
'MSA' 카테고리의 다른 글
23. Java Cryptography Extension(JCE) 암호화 적용(대칭키) (0) | 2022.12.05 |
---|---|
22. Spring Cloud Bus(broadcast push update)로 Config 적용하기 - #3 (Test) (0) | 2022.12.05 |
20. Spring Cloud Bus(broadcast push update)로 Config 적용하기 - #1 (0) | 2022.12.04 |
19. 각 환경에 맞는 profiles 적용하기 (0) | 2022.12.04 |
18. API Gateway에 Config 및 Actuator 적용하기(service refresh) (0) | 2022.12.04 |