Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Spring REST Client with Service Discovery - Eureka

Dan Vega via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn how to configure Spring's REST Client with service discovery using Eureka instead of hard-coded URLs in this comprehensive 14-minute tutorial. Explore the complete implementation of Spring Cloud Netflix Eureka for dynamic service discovery, starting with understanding the fundamental problem of static URLs in enterprise systems and progressing through building a complete example with service registry, service registration, and client-side discovery. Set up a Eureka server as your service registry and configure services to register themselves automatically. Master the use of the @LoadBalanced annotation to enable service discovery on REST Client builder and understand how the load balanced interceptor rewrites URLs at runtime. Create both primary and load-balanced REST client builder beans while learning to resolve common qualifier issues. Follow along with hands-on demonstrations of project structure setup, order service configuration, and complete flow testing. Gain practical insights into Spring Cloud Netflix architecture through detailed diagrams and real-world implementation examples, with access to the complete GitHub repository for reference and further exploration.

Syllabus

- Intro & The Question
- Understanding the Problem
- Spring Cloud Netflix Overview
- Service Discovery Architecture Diagram
- Project Structure Overview
- Service Registry Setup
- Order Service Configuration
- Building the Client with REST Client
- REST Client Builder Configuration
- Using @LoadBalanced Annotation
- Configuring the Load Balanced Bean
- Running the Services
- Debugging the Qualifier Issue
- Testing the Complete Flow
- Wrap Up & Alternatives

Taught by

Dan Vega

Reviews

Start your review of Spring REST Client with Service Discovery - Eureka

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.