You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Display → Product 연동 구간에 Circuit Breaker를 적용!

[display] build.gradle에 hystrix dependency추가

compile('org.springframework.cloud:spring-cloud-starter-netflix-hystrix')

[display] DisplayApplication에 @EnableCircuitBreaker추가

@EnableCircuitBreaker

[display] ProductRemoteServiceImp에 @HystrixCommand 추가

@HystrixCommand
  • No labels