MENU

Fun & Interesting

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

Selenium Express 34,883 2 years ago
Video Not Working? Fix It Now

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/courses/spring-boot-adv-microservices-bootcamprunning-batch/ #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/courses/spring-and-hibernate-bootcamp-running-batch/ LINKS AND FREE LEARNING RESOURCES ======== Watch my new mock interview series for java developers https://youtu.be/yX2w-Sof95s Watch Spring boot Hot topics https://youtu.be/CUQWZHjuq-w Java Interview / Question and Answer series https://youtu.be/Y1uGGTrBYKw Explain spring Bean Lifecycle https://youtu.be/hUYGGqoXEPc spring core https://www.youtube.com/watch?v=r2Q0Jzl2qMQ&list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi spring mvc https://www.youtube.com/watch?v=zCHrZdJODg4&list=PL3NrzZBjk6m-OSeL3DRMD_ISa0u-9c1l1 spring mvc intermediate https://www.youtube.com/watch?v=40YaLHbrwrY&list=PL3NrzZBjk6m_2jw8sC0BkEwSPFHxgQDWr Spring JDBC https://www.youtube.com/watch?v=5j_vh1b9dV8&list=PL3NrzZBjk6m-rYTKze-5Y5RvU8eykal4j spring live project https://www.youtube.com/watch?v=m_b_FwDjAXM&list=PL3NrzZBjk6m-9CVPueDLLermojwtfuW_f SPRING SECURITY COURSE[NEW] https://youtu.be/NMNLozLGT1s 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 https://www.facebook.com/seleniumexpress Make sure to join my private Facebook page (Ask me here) “SeleniumExpress - Support" https://www.facebook.com/groups/187000222361579/ you can ask for support in my website forum https://www.seleniumexpress.com Subscribe to my youtube channel https://www.youtube.com/channel/UCpUYkSDJpHug-vfC5S-NXRA?sub_confirmation=1 Follow me on Insta https://www.instagram.com/selenium_express/

Comment