From the course: Spring Cloud: Cloud-Native Architecture and Distributed Systems
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Challenge: Service discovery - Spring Tutorial
From the course: Spring Cloud: Cloud-Native Architecture and Distributed Systems
Challenge: Service discovery
(upbeat music) - [Instructor] Now that we've got our first service registered with Eureka, we actually need to register all of them in order to modify our application to start consuming services. So let's look at the steps. The first step that I need to do is to register the guest-service, just like we did the room-service. And then do the same for the reservation-service. Then finally, do the same thing for the room-registration-service. And that's it. You're just going to add the dependency to each of our services, enable it, and turn it on. Go ahead and restart everything and make sure that everything is now registered with your Eureka server. When we come back, I'll show you my solution.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Service discovery1m 47s
-
(Locked)
Setting up Eureka2m 35s
-
(Locked)
Registering with Eureka2m 20s
-
(Locked)
Challenge: Service discovery48s
-
(Locked)
Solution: Service discovery1m 16s
-
(Locked)
Consuming services3m 13s
-
(Locked)
Consuming with OpenFeign5m 18s
-
(Locked)
Challenge: OpenFeign40s
-
(Locked)
Solution: OpenFeign2m 21s
-
(Locked)
-
-