Introducing Spring Cloud EUREKA | HOW TO DISCOVER MICROSERVICES ? Service Discovery | SPRING BOOT #6

Опубликовано: 03 Октябрь 2024
на канале: Selenium Express
29,891
566

The nuts and bolts of Spring cloud Eureka discovery server, Let’s cover it in this extended lesson. In this video we will learn to implement spring cloud Netflix eureka in our microservices. The services that we usually write should be container friendly , hence will be having dynamic url’s . In that case, communication between different microservices will be tricky as all the service url’s changes every time. Service discovery and service registry is a pattern which comes for rescue. We made all our microservices , a client to a discovery server which keeps tracks of all the service urls.

When a microserivce wants to connect to another , it reaches to the discovery service and asks for the url of the destined Microservices. Once the discovery service returns back the url info, the calling microservice makes a call to the destined Microservices using the service url.

So as we understand, we need to build couple of things. The step 1 is to build a discovery service where my services will be registered. The spring cloud in collaboration with Netflix eureka gives us a powerful discovery server called spring cloud Netflix eureka which works seamlessly to help discovering all our microservices.

The step 2 will be, adding the Netflix eureka client dependency in our microservices which helps our microservices to register with the discovery service when they bootstrap.Let’s say if we have a hundreds and thousands of microservices , we will make all these services a client to the discovery server so that they can register themselves with the discovery server.

Let’s learn this concept step by step. Implement, do discovery service configuration and learn all the foundation that you need to work in a microservice environment.

Time Stamp
——————

00:00:00 - Introduction to Service Discovery
00:07:20 - So many apps.. How to mange urls ?
00:11:18 - Spring Boot + Spring Cloud Netflix Eureka
00:14:58 - Enabling eureka dashboard
00:17:48 - AWS Regions and Availability zones
00:27:58 - Eureka Discovery Service clusters
00:36:32 - Solving eureka server bootstrap issue - connection refused !
00:39:21 - fetch-registry
00:44:13 - Eureka internals concepts (default/customized port mystery )
00:58:47 - enabling/disabling client registration (register-with-eureka)
01:02:00 - Building a eureka client
01:20:54 - how eureka client and server communicates (Internals) ?
01:29:54 - Debugging Guide - Eureka clients are not registering. Help !

#JavaMicroservices #SpringBoot #SpringCloud #EurekaServer

In this series of Sessions we will learn to create Microservices using spring boot and We will Implement spring cloud to resolve the known challenges during MS development.

This course will get you started with Microservices, for in-depth Microservices hands-on you can check out the below paid course : Course Name : Spring Boot Advanced + Microservices Bootcamp (Running Batch)Mode : Live / Self-Paced
https://www.seleniumexpress.com/cours...

#Microservices #SpringBoot #SpringCloud #java

For more free / paid courses visit
www.seleniumexpress.com

Resources :
If you already have some spring basics, You can take the below paid course On Spring Framework to enhance your skill set.

https://www.seleniumexpress.com/cours...

LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
   • Java interview questions and answers ...  

Watch Spring boot Hot topics
   • @Reposicotry Vs @Service | Spring Boo...  

Java Interview / Question and Answer series
   • Java collections interview questions ...  

Explain spring Bean Lifecycle
   • REAL-TIME: Spring Bean life cycle usi...  

spring core
   • Spring framework tutorial for beginne...  

spring mvc
   • Spring MVC course introduction || Und...  

spring mvc intermediate
   • [INTERMEDIATE] Spring MVC Course Prev...  

Spring JDBC
   • Spring JDBC Course Preview || Let’s t...  

spring live project
   • #1 Build and Deploy A Spring Project ...  

SPRING SECURITY COURSE[NEW]
   • Spring Security Course Preview | Lear...  

For more courses visit
https://www.seleniumexpress.com

Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to [email protected]

you can ping me on my Facebook page
  / seleniumexpress  

Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
  / 187000222361579  

you can ask for support in my website forum
https://www.seleniumexpress.com

Subscribe to my youtube channel

   / @seleniumexpress  

Follow me on Insta
  / selenium_express