Service Discovery In Microservices | Netflix Eureka
Machine-readable: Markdown · JSON API · Site index
Описание видео
In this video, we learn how Service Discovery solves one of the biggest problems in microservices — hardcoded service URLs 🚀
Instead of calling services using fixed URLs like localhost:8081, we’ll use Netflix Eureka to dynamically register and discover microservices in Spring Boot.
We’ll build a real example with:
Eureka Server
Order Service
Inventory Service
and understand how services can communicate dynamically using Feign Client and DiscoveryClient.
📚 What You’ll Learn
• The problem with hardcoded URLs in microservices
• What is Service Discovery?
• Setting up Eureka Server
• Registering microservices on Eureka
• Service registration & discovery
• Using Feign with Eureka
• Using DiscoveryClient manually
• Live demo of dynamic service discovery
⏱️ Chapters
0:00 - Introduction And Agenda
1:20 - The Problem
5:16 - Service Discovery
10:45 - Setup Eureka Server
16:58 - Register Clients On Eureka
22:22 - Feign
25:20 - DiscoveryClient
29:30 - Outro
🧩 Project Overview
Order Service
↓
Eureka Server
↓
Inventory Service
LINKS:
Git Repos -
https://github.com/codesnippetjava/ecom-inventory-service/tree/eurekap1https://github.com/codesnippetjava/ecom-order-service.git
https://github.com/codesnippetjava/eureka-server.git
Service Discovery Spring Docs -https://spring.io/guides/gs/service-registration-and-discovery
Microservices Playlist - https://www.youtube.com/playlist?list=PL-bgVzzRdaPgSkWO70qrskTKZCHA5SCai
RestTemplate - https://youtu.be/bTywhSbbgok
🔥 Why Service Discovery Matters
In real-world distributed systems:
Services scale dynamically
Containers restart frequently
IP addresses change constantly
Service Discovery helps microservices communicate without hardcoded locations.
👨💻 Who This Video Is For
Java Developers
Spring Boot Developers
Backend Engineers
Microservices Learners
System Design enthusiasts
🔜 Next Video
In the next video, we’ll go deeper into:
👉 Eureka Architecture & Internal Working
👉 Heartbeats & Registry Updates
👉 Client-Side Discovery
👉 Load Balancing
🏷️ Tags
service discovery spring boot, eureka server spring boot, netflix eureka tutorial, spring cloud eureka, microservices service discovery, spring boot microservices tutorial, feign client with eureka, discoveryclient spring boot, dynamic service discovery java, distributed systems spring boot
#️⃣ Hashtags
#Microservices
#SpringBoot
#Java
#BackendDevelopment
#SystemDesign
#SoftwareEngineering
#DistributedSystems