package com.google.mbdebian.springboot.playground.microservices.tutorial;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
public class SpringMicroservicesEurekaClientApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringMicroservicesEurekaClientApplication.class, args);
	}
}

@@ -225,41 +225,212 @@
 oud.
-netflix.eureka.EnableEurekaClient
+client.loadbalancer.LoadBalanced;%0Aimport org.springframework.cloud.netflix.eureka.EnableEurekaClient;%0Aimport org.springframework.context.annotation.Bean;%0Aimport org.springframework.web.client.RestTemplate
 ;%0A%0A@
@@ -530,16 +530,109 @@
 tion %7B%0A%0A
+%09@Bean%0A%09@LoadBalanced%0A%09public RestTemplate restTemplate() %7B%0A%09%09return new RestTemplate();%0A%09%7D%0A%0A
 %09public 

load balanced rest template bean