Prev Next

Spring / Spring cloud

Mention a few spring Cloud annotations and configuration.

@EnableEurekaServer annotation allows us to register microservices to the spring cloud.

@EnableDiscoveryClient annotation also allows us to query Discovery server to find microservices.

Spring provide smart RestTemplate for service discovery and load balancing by using @LoadBalanced annotation with RestTemplate instance.

More Related questions...

Show more question and Answers...


Comments & Discussions